AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.09.23 23:34 "[Tiff] TIFF Image Quality Question", by Rick Cone, Secure Payment Systems
2008.09.24 00:11 "Re: [Tiff] TIFF Image Quality Question", by Bob Friesenhahn
2008.10.01 23:18 "Re: [Tiff] Image Orientation tag and rotating images", by Richard Nolde
2008.10.01 03:03 "[Tiff] Image Orientation tag and rotating images", by Richard Nolde
2008.10.01 12:38 "Re: [Tiff] Image Orientation tag and rotating images", by Dr. Michael J. Chudobiak
2008.10.01 14:25 "Re: [Tiff] Image Orientation tag and rotating images", by Richard Nolde
2008.10.01 16:32 "Re: [Tiff] Image Orientation tag and rotating images", by Richard Nolde
2008.10.01 18:59 "Re: [Tiff] Image Orientation tag and rotating images", by Dr. Michael J. Chudobiak
2008.10.02 05:43 "Re: [Tiff] Image Orientation tag and rotating images", by Andrey Kiselev
2008.10.01 15:08 "Re: [Tiff] Image Orientation tag and rotating images", by Bob Friesenhahn
2008.10.01 16:02 "Re: [Tiff] Image Orientation tag and rotating images", by Edward Lam
2008.10.02 02:42 "Re: [Tiff] Image Orientation tag and rotating images", by Bob Friesenhahn
2008.09.24 01:14 "Re: [Tiff] TIFF Image Quality Question", by Phillip Crews

2008.10.02 05:43 "Re: [Tiff] Image Orientation tag and rotating images", by Andrey Kiselev

On Wed, Oct 01, 2008 at 10:32:22AM -0600, Richard Nolde wrote:

My first question is whether I have made the correct adjustments to the orientation tag for rotations of 90, 180, and 270 degrees clockwise.

Some comments:

  1. libtiff support for orientation is a little odd, because libtiff automatically adjusts for orientations 1-4 (which preserve the height and width), but not 5-8 (which swap height and width). Beware!

What file are you referring to when you say that libtiff automatically adjusts for orientations 1- 4?

Richard,

There is a TIFFReadRGBAImageOriented function which handles some of the orientation stuff, but unfortunately it doesn't cover all the possibilities. There was a bug filled in our old Bugzilla on the issue (which is now lost) and it wasn't fixed because I haven't a good idea how it should be done.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517