New Forum | Previous | Next | (P-PDF) Developers
Topic: Insert B/W image with 'CCITTDecode' into PDF?
Conf: (P-PDF) Developers, Msg: 69646
Date: 7/31/2002 09:50 PM
I am using libtiff API 'TIFFReadEncodedStrip' to read in a bilevel TIFF image. The raw TIFF data i get, i am able to insert into PDF without a problem.
But when i use 'TIFFReadRawStrip' and read in the TIFF image data that is been compressed using CCITT G4 and then insert the image data into PDF i get the error 'Insufficient data for an image'.
What could be wrong?.
What i am trying to achieve is insert a bilevel TIFF image into PDF with CCITT G4 compression using a plug-in on windows platform?.
Thanx in Advance,