1998.05.15 15:00 "TIFF to PDF", by Bernhard Herzog

1998.05.15 15:00 "TIFF to PDF", by Bernhard Herzog

Hi everyone!

I want to do direct conversion from TIFF to PDF using my own code. I thought I just needed to convert the raw tiff data into a stream of the new PDF (using the function TIFFReadRawStrip from the tifflib - like in the sample-program tiff2ps).

But I can't get it working. My program produces a stream which *begins* like the stream in a PDF generated with tiff2ps + distiller but has more and different bytes (the TIFFReadRawStrip returns exactly 1 strip which is longer than the stream in the PDF-File).


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