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
January 2005

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

2005.01.27 15:26 "TIFFSetField bug?", by <melser.anton@gmail.com>
2005.01.27 18:00 "Re: TIFFSetField bug?", by Bob Friesenhahn
2005.01.27 18:35 "Re: TIFFSetField bug?", by <melser.anton@gmail.com>
2005.01.27 19:59 "Re: TIFFSetField bug?", by <melser.anton@gmail.com>
2005.01.27 20:16 "Re: TIFFSetField bug?", by Bob Friesenhahn
2005.01.27 20:05 "Re: TIFFSetField bug?", by <melser.anton@gmail.com>

2005.01.27 15:26 "TIFFSetField bug?", by <melser.anton@gmail.com>

Hi,

In the windows 3.6.1 source code release, TIFFSetField will not set
RowsPerStrip properly. The field is either not converted from its
original status as a short (i.e., when it gets read in, even if it is
read into a uint32, and TIFFSetField is passed this variable, it
doesn't change the value to a long), or gets set to some ridiculous
figure. I know that this it is possible to set it correctly because
the tifftag.exe that can be found at
http://www.piorek.net/pub/WINDOWS_TOOLS/tifftag.exe
is able to change the datatype, and when it does does not bork the value.

Calling from tiffset and from my own code is the same. And further
modification to the value after it has been changed to a long is
impossible (so two calls does nothing).
Cheers
Antoine

-- 
G System, The Evolving GUniverse - http://www.g-system.at