Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ImageProcess.py
diff options
context:
space:
mode:
Diffstat (limited to 'ImageProcess.py')
-rw-r--r--ImageProcess.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ImageProcess.py b/ImageProcess.py
index 26506a5..430b852 100644
--- a/ImageProcess.py
+++ b/ImageProcess.py
@@ -528,7 +528,11 @@ class ImageProcessor(gtk.DrawingArea):
rect = gdk.Rectangle(alloc.x, alloc.y, alloc.width, alloc.height)
self.window.invalidate_rect(rect, True)
self.window.process_updates(True)
-
+
+ def save_cb(self,file_path):
+ pixbuf=self.pixbuf
+ pixbuf.save(file_path, 'png', {})
+
#check working of functions
def update(view_object):
view.grey("g")