AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.04.06 19:40 "[Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein
2006.04.07 09:56 "Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Joris
2006.04.11 16:43 "AW: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein
2006.04.11 22:07 "Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Joris
2006.04.13 15:02 "AW: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein
2006.04.13 19:53 "RE: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by
2006.04.14 17:02 "Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Joris
2006.04.15 10:46 "Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Joris
2006.04.18 09:22 "Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein

2006.04.11 16:43 "AW: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein

Joris,

thank you very much for the code you posted. It really worked fine. Now I tried to understand the code to alter it, because I want to use more kinds of compression. As I understood, to use TIFF-Compression CCITT3 or 4 I need for example Bitmaps with PixelFormat=pf1bit. I tried to alter the code you posted like this:

TIFFSetField(OpenTiff,TIFFTAG_SAMPLESPERPIXEL,1);

TIFFSetField(OpenTiff,TIFFTAG_BITSPERSAMPLE,1);

TIFFSetField(OpenTiff,TIFFTAG_COMPRESSION,COMPRESSION_CCITTFAX3);

And disabled the code for making sure that it is pf24bit or pf32bit.

But it doesn't work so far. I think I forgot something. Or is it just because I understood your code false? Can you please explain me? I'm really new at this TIFF-things... *confused*

Thank you very much,

Greetz Thorsten

-----Ursprüngliche Nachricht-----
Von: Joris [mailto:joris.at.lebbeke@skynet.be]
Gesendet: Freitag, 7. April 2006 11:57

An: Thorsten Hagelstein; TIFF mailing list Betreff: Re: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee


Editor's note: This mail was not originally archived, and has been reconstructed from quotes.