2002.03.22 21:13 "Re: Changing Orientation Tag", by Peter Smith
I was wondering if anyone knows of any software that changes the orientation of tiffs by toggling the orientation tag, instead of actually changing the order of the data?
That's what I do in my cheque-processing software. If a document is imaged upside-down and the operator clicks the "invert" button, I just change the orientation tag and leave the image unchanged. Any viewer worth using should interpret the orientation tag if it is present. If it doesn't, you have a crappy viewer.
I would lay the blame for this inconsistency in viewer behaviour on the Tiff 6.0 spec itself, which states:
"[The Orientation tag] is recommended for private (non-interchange) use only. Most images are scanned and stored in the Orientation = 1 format, and most TIFF readers can only handle this case."
I have been tempted to use this tag myself, but this wording has scared me away. In the case that you describe, Jon, I think the spec makes it pretty clear that you should "invert" the image in your software and not leave it up to the viewer.
It makes me wonder why this tag was even included in the spec.