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
 Saving Exif Data to a Raw File (any format)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

nwscomps

190 Posts

Posted - Oct 20 2011 :  14:08:42  Show Profile  Reply
IS it possible with current version? I have used successfully the InjectJpegEXIF and InjectTIFFEXIF methods for both jpeg and Tiff, but I need something similar for raw files as well. I tried to use the tiff inject method and it corrupted the raw file, so I guess this is not the way to go.
Thanks for any answer

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library

fab

1310 Posts

Posted - Oct 20 2011 :  22:59:53  Show Profile  Reply
I'm sorry, ImageEn doesn't support saving of RAW files. Also injecting is not possible.
Go to Top of Page

nwscomps

190 Posts

Posted - Oct 23 2011 :  17:44:48  Show Profile  Reply
Fabrizio thanks for the answer. However I thought it could have been easy to implement, because after all the raw files use a TIFF structure inside. Also I have noticed that injecting the raw using the injecttiffexif method does manage to save the exif tags correctly in the raw file although it corrupts the raw image. I guees it would be a matter of detecting the start and finish of the tiff exif block in the raw file and then copy back all the rest of the information without altering it. Do you think there is a chance to do this? I am not a lover of low-level programming but since in imageen there is plenty of low-level code for handling file streams I thought it could have been a easier job for you. Can you advise on this one?

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page

fab

1310 Posts

Posted - Oct 24 2011 :  12:00:25  Show Profile  Reply
Yes, several raws are TIFF with a special compression method. Anyway this is not always true. Also, sometimes there are references to absolute positions inside the file, so, without knowing the actual meaning of that tag it is not possible to change its position (maybe to insert a new EXIF tag).
For this reason it is absolutely necessary to know the exact raw structure to inject new datas.
Go to Top of Page

nwscomps

190 Posts

Posted - Oct 25 2011 :  17:04:23  Show Profile  Reply
Thanks, I guess I'll have to wait to change exif info in the raw files for now

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: