AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.06.27 06:55 "Fw: Patch: TIFF Group 3/4 decoder support for PIL 1.1.6", by Renier Morales
2007.06.27 14:21 "Re: Fw: Patch: TIFF Group 3/4 decoder support for PIL 1.1.6", by Frank Warmerdam
2007.06.28 07:18 "Re: Fw: Patch: TIFF Group 3/4 decoder support for PIL 1.1.6", by Renier Morales

2007.06.28 07:18 "Re: Fw: Patch: TIFF Group 3/4 decoder support for PIL 1.1.6", by Renier Morales

On Wed, 27 Jun 2007 10:21:34 -0400, Frank Warmerdam
<warmerdam@pobox.com> wrote:
> If PIL wants to use the G3/G4 code from libtiff I'd suggest instead
> that the code just be copied and adapted for the purpose.  I've done
> this successfully for another g3/g4 format in my GDAL library.

Hmm. Going to need some pointers and understand a lot more about TIFF
than a wanted.
I think I've found the relevant code in tif_fax3.c (Fax4Decode). I saw
the the decoding uses a pointer to the tif struct, but it seems that the
only legal way to get a tif struct pointer is with TIFFOpen. Problem
is, in PIL, I get the bytes of the file, not the path to it, AFAICT.

You still think its possible to adapt the libtiff G3/G4 decoder if I
only have the bytes of the tif image? If so, then that means I don't
need concern myself with those STATE macros?

	--Renier