batch tiff to jpeg conversion script

Peter Hansen peter at engcorp.com
Wed Jan 11 18:10:35 EST 2006


Martin Miller wrote:
> rtilley at vt.edu wrote:
> 
>>Hi Peter. The guy who takes the pictures uses Photoshop to convert
>>tiffs to jpegs one by one. When he does a 'Maxium Quality' conversion
>>in Photoshop and I do a 100% quality conversion with Python and PIL,
>>the two converted files are almost identical and this is what he
>>wants... that's the only reason I'm using 100% quality. Thanks for the
>>info!
> 
> 
> Allow me interject two observations:
> 
> 1) You should tell the guy using Photoshop what Peter pointed out
> regarding the Jpeg Quality setting.

Or consider using PNG files instead, which can do pretty decent lossless 
compression, which might be what the guy really wants to do.  I haven't 
compared a 100% JPG with a PNG but it might be instructive.

-Peter




More information about the Python-list mailing list