batch tiff to jpeg conversion script

William Park opengeometry at yahoo.ca
Sun Jan 29 22:50:54 EST 2006


rtilley at vt.edu <rtilley at vt.edu> wrote:
> Hope it's not inappropriate to post this here.
> 
> Could someone critique my code? I have no Python programmers in my
> office to show this to. The script works OK, but should I do it
> differently? I especially don't like how I check to see if jpegs exist.
> 
> The style may not be acceptable to some, but I'm concerned with
> substance, not style. Is there a 'more appropriate' way to do this?
> 
> Thanks to all who take the time to give advice!

At the risk of being flamed... Have you tried ImageMagick utilities.
For example,
    man convert

-- 
William Park <opengeometry at yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/



More information about the Python-list mailing list