TIFF and LibTiff Mail List Archive


2002.08.15 00:33 "Orientation field", by Dante Allegria
2002.08.15 00:52 "Re: Orientation field", by Jon Saxton
2002.08.15 01:13 "Re: Orientation field", by Dante Allegria
2002.08.15 13:12 "RE: Orientation field", by Kari Poysa
2002.08.15 14:21 "RE: Orientation field", by Peter Nielsen
2002.08.15 16:34 "Re: Orientation field", by Daniel McCoy
2002.08.15 17:14 "RE: Orientation field", by Jeff Urlwin
2002.08.16 07:23 "Re: Orientation field", by Andreas R. Kleinert
2002.08.16 12:11 "Re: Orientation field", by Peter Nielsen
2002.08.16 14:15 "Re: Orientation field", by Kevin D. Quitt
2002.08.16 14:34 "RE: Orientation field", by Kari Poysa

2002.08.16 12:11 "Re: Orientation field", by Peter Nielsen

Mind you, not supporting the orientation tag is pure laziness. For the writer

As - in most cases - also is writing images bottom-up.
That is: lazyness.

Some points to consider:

Good points.

1. If there's not much code involved, why write bottom-up anyway?

Writing any other orientation than top-up (orientation 1) should be avoided at all cost.

2. If memory consumption is not an issue, why not flip on/after the source
   instead of inside the TIFF viewer?

This is the way it should be done. (However, it is fully understandable that this possibly can't be done in small handheld devices with restricted hardware resources).

a) Because it's a different kind of device with different restrictions.

But why not at least write as many "strips" as there are "rows", with a "rows per strip" of one and then re-arrange (sort) the strips? (i.e. the offsets of the strips)

This does not help if the image is rotated by 90 degrees. (Which is the common problem with cameras; portrait vs. landscape)

3. Where's the problem in batch-converting a bunch of wrongly oriented
   images right after creation?

There you go! This is what the orientation field REALLY is intended for. It is a place where the device manufacturer can store the orientation in a non- proprietary way. Once the TIFFs are in a place with sufficient recources, the orientation should be corrected, since a baseline tiff viewer is not required to support other rotations than top-up.

Ideally, the software that transfers the pictures from the device should always correct the orientation automatically and create a new file with orientation=1. This step is usually not taken and this is where the lazyness really is...

Best regards,