diff options
Diffstat (limited to 'ImageProcess.py')
-rw-r--r-- | ImageProcess.py | 6 |
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") |