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.13 15:02 "AW: [Tiff] LibTiffDelphi problem with WriteEncodedStrip Newbee", by Thorsten Hagelstein

Please keep all mail that can be of public interest inside the mailing list. This can be a good thread, useful to many.

Sorry for that, it's the first mailing list I joined. Hopefully I did it right this time ;-)

The altered parts you show, seem fine.

My guess is you didn't change the next few parts, and the strip memory building parts still assume pf24bit or pf32bit bitmap. Is that correct?

Yes, I think this was the fault I made.

A complete adoption to save a pf1bit Bitmap to a G4 compressed TIFF, may look somewhat like this:

Thank you for your code, but it didn't work, and I can't figure out, what wents wrong. I tried to understand your code, but there are still some questions... Maybe you can help me

  RowSize:=((Bitmap.Width+7) div 8);

Why did you add 7 here? To get a multiple of 8?

The Result of the procedure is a file without data. The only thing included is the tiff-header. Maybe you can check your code? I'm not able to figure out, what's wrong.

Thank you very much

Greetz Thorsten