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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ExtractTiffImageFile / InsertTiffImageFile

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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