[reportlab-users] Importing a Multipage .Tif file.

Dinu Gherman reportlab-users@reportlab.com
Sat, 17 Jul 2004 13:26:10 +0200


Jody Burgess:

> I am using ReportLab to create a pdf and have been successfull in 
> importing
> all flavours of ".tif" files. However, I am having problems when the 
> tif
> file contains mutiple images. What I need to do is for each image 
> contained
> in the .tif file (there are > 1 image stored in each tif file), I need 
> to
> create a separate page in the resulting pdf file. Can anyone assist 
> with
> this?

Hi Jody,

a Python/PIL-independant solution to your problem - yes, even
on Win32 as it seems, would be to use libtiff externally for
splitting such files. I'd asume libtiff is handling more TIFF
variants than PIL, which at least used to have some problems
with TIFF files generated on a Mac.

   http://www.libtiff.org/tools.html

Regards,

Dinu

--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
I miss you! - http://www.angelika-birck.info