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
 MakerNote not accessible

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
artecsoft Posted - Jun 09 2021 : 06:46:54
Hi,

I've a JPG with MakerNote EXIF data but I don't know how to access it. The ImageEnView1.IO.Params.EXIF_MakerNote.Data.Size is always 0.

How can I access this metadata information?

I attact the image with this EXIF data.

Thank you

Jordi

attach/artecsoft/20216962932_sabat_1c_0f_af_bd_73_10_2021_06_08_10_image_2021_06_07_19_16_05_039699_sabat_1c_0f_af_bd_73_10.jpg
6   L A T E S T    R E P L I E S    (Newest First)
artecsoft Posted - Jun 14 2021 : 10:01:54
It works perfectly! Thank you!
xequte Posted - Jun 13 2021 : 19:39:09
Sorry, I see that it is possible to extract the data with the current version.

Please use:
var RB: RawByteString;

IEGlobalSettings.EXIFMakerNotesHandling := iemhDecodeOrMaintainRaw;
ImageEnView1.io.LoadFromFile(FileListBox1.FileName);
SetLength(RB, ImageEnView1.IO.Params.EXIF_MakerNote.UnparsedDataLength);
Move(ImageEnView1.IO.Params.EXIF_MakerNote.UnparsedData^, Pointer(RB)^, ImageEnView1.IO.Params.EXIF_MakerNote.UnparsedDataLength);
memo1.Text := RB;


Nigel
Xequte Software
www.imageen.com
artecsoft Posted - Jun 11 2021 : 09:33:53
Yes, please, if you can give me the source. I prefer using ImageEn to extract this information instead of using other libraries.

Thank you
xequte Posted - Jun 11 2021 : 02:01:27
Hi

Yes, I can access the raw data at the EXIF maker notes IFD. The issue is that maker notes are always formatted as TIFF tags (in my experience) not as JSON so we'd need to implement some special handling for this. However as this is an uncommong format I'm not sure if I should add a lot of extra code to ImageEn to handle something non-standard. It would probably be better if we gave you the code to extract this custom data yourself.



Nigel
Xequte Software
www.imageen.com
artecsoft Posted - Jun 10 2021 : 06:48:29
Hi, this image is captured with a Lucid Vision Labs camera, but the MakerNote tag is injected via Python by an AI software to identify some parameters of a factory machine. They injected this JSON in this Exif tag. Maybe it would be better to use another tag.

I've used another Delphi library (CCR-Exif) that has the ability to extract this information. Maybe you could use the same techniques used in this library to improve ImageEn.

Thank you



xequte Posted - Jun 09 2021 : 17:48:33
Hi Jordi

I have not seen a JSON format maker note before. Can you tell me more about the source of this file?



Nigel
Xequte Software
www.imageen.com