ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ExtractTiffImageFile / InsertTiffImageFile
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

swestner

17 Posts

Posted - Nov 07 2012 :  08:31:32  Show Profile  Reply
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

xequte

39066 Posts

Posted - Nov 07 2012 :  17:56:07  Show Profile  Reply
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
Go to Top of Page

swestner

17 Posts

Posted - Nov 08 2012 :  01:18:41  Show Profile  Reply
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
Go to Top of Page

fab

1310 Posts

Posted - Nov 08 2012 :  01:29:13  Show Profile  Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: