[Image-SIG] help me to contribute -- writing multi-page TIFF ....

Waldemar Osuch waldemar.osuch at gmail.com
Mon Apr 14 19:17:42 CEST 2008

On Mon, Apr 14, 2008 at 3:40 AM, Sebastian Haase <haase at msg.ucsf.edu> wrote:
> Hi,
>  Since TIFF seems to be the most wanted format in our group (microscopy
>  images) I now want to add write support for multi-page tiff image.
>  I was wondering if people here could give me some hints and / or
>  references on how to go about this ?
>  Of course if someone knows about existing code to write multi-page
>  tiff in Python -- please speak up now ;-)  (( wxPython maybe ?))

I have used http://www.haynold.com/software_projects/2004/pytiff/ before.
The project seems to abandoned but it worked very nicely for my simple needs.

Another option worth considering is to use something like:
 http://www.libtiff.org/ in combination with subprocess module.

>  Since multi-page tiffs, called image-sequences in PIL, can be read by
>  PIL I thought, it should be quite informative to set
>  Image.DEBUG = 1
>  and open some simple tif sequence file.  Right ?
>  Is it important if the "Image File Directory" (IFD) is in front or
>  after each page !?
>  Is a multi-page tif just a sequence of "normal" (i.e. single page)
>  tiff IFD-imageData-pairs with an adjusted IFD entry for "next IFD"  !?
>  Thanks,
>  Sebastian Haase
>  _______________________________________________
>  Image-SIG maillist  -  Image-SIG at python.org
>  http://mail.python.org/mailman/listinfo/image-sig

More information about the Image-SIG mailing list