|AWARE [SYSTEMS]||Imaging expertise for the Delphi developer|
|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
1999.01.27 01:46 "90 degree rotation", by Kevin D Quitt
I am sending postscript to a printer that prints along the long edge of the paper. Send TIFFs the usual way (e.g., the output from tiff2ps) causes a significant slow- down of the printer. I also want to send Level 2, CCITT Group 4 compressed to minimize the transfer time over the net (some documents run to thousands of pages). I have modified tiff2ps to physically rotate the bitmap for Level 1 PostScript, and have added the appropriate header line so that the page comes out looking exactly as it would have without the different layout of the image data. I discover it's not so easy to do in PostScript Level 2, as the bitmap is not decompressed from the form in the TIFF, but merely encoded to ASCII (or ASCII85). Somehow I need to be able to read/decode the TIFF image, rotate it, then output the CCITT Group4 encoded data. Can I buy a clue?