[python-win32] JPEG to TIFF conversion

Larry Bates larry.bates at websafe.com
Mon Dec 10 23:47:17 CET 2007


Manjeet Singh wrote:
> Hi,
>    I am a new to the image conversion /compression concepts. I have few 
> thousands of images which were scanned in Uncompressed JPEG format(.Tiff 
> and .Jpeg). I am required to convert them to standard tiff files(CCIT 
> Group4). Is there any way to accomplish this in Python? I will be 
> thankful for the comments and suggestions. I am using Python 2.3.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32

PIL can convert to TIF, but can't save as compressed TIF.  You can use an 
external program like tiffcp to compress them.  I've done this before by writing 
the file, then calling os.system to run tiffcp.

-Larry



More information about the python-win32 mailing list