T O P I C R E V I E W |
swestner |
Posted - Nov 07 2012 : 08:31:32 Hello,
I have a tiff-file with multiple frames. I extract each frame with ExtractTiffImageFile . After extraction I combine the single frames again to one tiff file with InsertTiffImageFile . I change nothing in the tiff-files. I expect that the recombined file would be exact identical to the one I split but it isn't (I build a hash about both to verify it).
If I do a picture-comparison it shows me that the image is the same but the difference lies somewhere in the header / metadata. Why?
Greetings
Stefan |
3 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Nov 08 2012 : 01:29:13 quote: I expect that the recombined file would be exact identical to the one I split but it isn't (I build a hash about both to verify it).
There is no guarantee that the headers will be identical. For example order of TIFF tags, byte alignments and other stuff may change. |
swestner |
Posted - Nov 08 2012 : 01:18:41 The picture contains no EXIF data. Optically the both TIFs are the same but binary they are not. Something changed when using ExtractTIFF and InsertTiff.
Fabrizio: could you look at this?
Thanks
Stefan |
xequte |
Posted - Nov 07 2012 : 17:56:07 Hi Stefan
Have you compared the header data using the EXIF demo at:
http://www.imageen.com/demos/
Nigel Xequte Software www.xequte.com nigel@xequte.com
|