AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.01.27 15:26 "[Tiff] TIFFSetField bug?", by Antoine
2005.01.27 18:00 "Re: [Tiff] TIFFSetField bug?", by Bob Friesenhahn
2005.01.27 18:35 "Re: [Tiff] TIFFSetField bug?", by Antoine
2005.01.27 19:59 "Re: [Tiff] TIFFSetField bug?", by Antoine
2005.01.27 20:16 "Re: [Tiff] TIFFSetField bug?", by Bob Friesenhahn
2005.01.27 20:05 "Re: [Tiff] TIFFSetField bug?", by Antoine

2005.01.27 20:16 "Re: [Tiff] TIFFSetField bug?", by Bob Friesenhahn

That this must be a bug. I would love to have my pitiful knowledge of c shown to be the problem!

I don't see the bug. The use of uint32 is an API-level issue. The TIFF specicification says that RowsPerStrip may be of type SHORT or LONG. Elsewhere it says that readers should be able to support short sizes since they conserve space. If libtiff writes a SHORT when a SHORT is large enough to support the value, then it is adhering to the TIFF specification.

Bob

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen