AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1999.06.01 08:36 "Tiff to PDF conversion", by Laurent Dupont
1999.06.01 12:52 "Re: Tiff to PDF conversion", by Jean Pierre Castagnet
1999.06.01 16:05 "[Fwd: Tiff to PDF conversion]", by Tim McNerney
1999.06.01 14:58 "Re: Tiff to PDF conversion", by Indranil Bannerjee
1999.06.01 17:55 "Re: Tiff to PDF conversion", by Helge Blischke
1999.06.01 18:11 "Re[2]: Tiff to PDF conversion", by Gary Weimer
1999.06.01 18:39 "[Fwd: [Fwd: Tiff to PDF conversion]]", by Tim McNerney

1999.06.01 18:39 "[Fwd: [Fwd: Tiff to PDF conversion]]", by Tim McNerney

I've been asked a couple times about TIFF to PDF conversion. I did this for another company, so I don't have the code available and my memory isn't great. What you do in general is put in the standard PDF header information and then have an image object which should look something like:

<<
/Type /XObject
/Subtype /Image
/Name /Im0
/Width 1400
/Height 2400
/BitsPerComponent 1
/ColorSpace /DeviceGray
/Filter /CCITT /G4 # I don't remember this line at all-check PDF
spec
/Length 0000102901
>>
stream
<G4 image>
endstream
endobj

Where <G4 image> is the bytestream for the image, just as you'd find it in a TIFF.

Sorry I can't be of more direct help.

--Tim