AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 1999

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



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?