2005.08.04 19:47 "[Tiff] (no subject)", by Philip Watkinson

2005.08.17 14:37 "Re: [Tiff] Re: TIFFWriteScanline and G4 compressed block concatenation", by Joris Van Damme

You can extract a CCITT Group 4 image from a TIFF file with TIFFReadRawStrip() and create a valid CCITT Group 4 image file provided the image only uses one strip.

Indeed. I hadn't noticed there was ever any doubt about that.

  1. I want to extract a CCITT Group 4 image from a TIFF file. If I
  1. obtain the strip offsets using TIFFGetField(), can I concatenate the
  1. strips together to create a valid CCITT Group 4 image file?

A good way to find out is to try. I'm not enterily sure and would have to double-check, but I don't think you can do that. Two CCITT group 4 compressed blocks, concatenated, is not one valid block I think.

Have you double-checked my suspicion? If so, it would be interesting to read your findings.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html