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
November 2003

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!



Thread

2003.11.17 09:28 "tiff2pdf contribution", by Ross Finlayson
2003.11.19 00:30 "tiff2pdf contribution", by Chris Hanson
2003.11.20 07:59 "tiff2pdf contribution", by Ross Finlayson
2003.11.21 13:06 "tiff2pdf contribution", by Leonard Rosenthol
2003.11.21 17:21 "tiff2pdf contribution", by Ross Finlayson
2003.11.21 21:25 "tiff2pdf contribution", by Leonard Rosenthol
2003.11.24 10:02 "tiff2pdf contribution", by Ross Finlayson
2003.11.26 05:02 "tiff2pdf contribution", by Ross Finlayson
2003.11.19 22:49 "tiff2pdf contribution", by Ross Finlayson

2003.11.19 00:30 "tiff2pdf contribution", by Chris Hanson

On Nov 17, 2003, at 3:28 AM, Finlayson@whale2.fsr.net, Ross wrote:
> I'm trying to figure out what to do about the TIFF orientation tag.

You could probably use the orientation tag to change the CTM used to 
actually perform drawing.  That way you don't have to actually 
transcode any data.

So for instance, the CTM for an image with ORIENTATION_BOTLEFT would be 
[1 0 0 1 0 0] (the identity transform) but the CTM for an image with 
ORIENTATION_TOPLEFT would be [1 0 0 -1 0 0].

For the benefit of those outside the PostScript/PDF universe, [a b c d 
e f] is how we write the transformation matrix

     [ a b 0
       c d 0
       e f 1 ]

It should be possible to just use the orientation tag to manipulate the 
CTM so you don't have to change any of the TIFF image data.

   -- Chris

-- 
Chris Hanson <cmh@bdistributed.com>
bDistributed.com, Inc.
Outsourcing Vendor Evaluation
Custom Mac OS X Development
Cocoa Developer Training