/gtk/prep-images

To get this branch, use:
bzr branch http://bzr.ed.am/gtk/prep-images

« back to all changes in this revision

Viewing changes to lib/prep_images/main_window.py

  • Committer: edam
  • Date: 2011-09-24 21:43:22 UTC
  • Revision ID: edam@waxworlds.org-20110924214322-x23ks8o2qyin3y2y
Tags: 0.1
- removed '.0' from the end of the version no.
- sharpen resized images slightly

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
                        out_filename ]
224
224
                if( self.prefs.resize ):
225
225
                        args[ 1 : 1 ] = [ "(", "-resize", resize_geometry, \
226
 
                                self.filename, ")" ]
 
226
                                self.filename, "-unsharp", "1x3+.6+.09", ")" ]
227
227
                else:
228
228
                        args[ 1 : 1 ] = [ self.filename ]
229
229
 
230
230
                # call ImageMagick to do our dirtywork
231
231
                try:
 
232
                        print "calling: " + ' '.join( args )
232
233
                        ret = call( args )
233
234
                        if ret != 0:
234
235
                                print >>sys.stderr, "ImageMagick failed, returned ", ret