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
September 2006

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!



2006.09.13 14:05 "Image data alternation and bug 438", by Felix Wehrmann

Hello list

I use libtiff via the open-source library FreeImage. In particular, I
store 16bit greyscale image data in a multi-paged TIFF file.

I realised that the data of an image, appended to a multipage TIFF file,
gets
altered by libtiff. Changes take probably place in TIFFWriteScanline,
where a call to 'postdecode' does some transformation of the data. I
assume further that FreeImage is not involved actively in this part
since it only passes down data pointers.

Is there any way to continue using the data pointer after storing the
image, i.e. avoiding any changes of the data it points at?

What controls the postdecode function call - is data always altered?
Maybe I am doing things wrong here and unintentionally trigger some form
of conversion.

I also found some discussion about little/big endian and bug 438 in
connection with this issue. 

Any ideas are very much appreciated.

Thanks
Felix

FOSS Fifty & First

FOSS is celebrating 50 years Jubilee in 2006.

Help us celebrate, take part in the FOSS jubilee competition and win a trip 
to Greenland.

Check it out on www.foss.dk