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
 How to read and write a few values from EXIF?

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
yogiyang Posted - Jun 18 2020 : 06:17:34
Hello,

I have a need to write following EXIF data to the files saved from my software:
  • User Comment
  • Date and Time
  • Description
  • Software
  • Image Description


I am trying to use Helpers in iexMetaHelpers.

In the same way I also want to read only these items (stated above) from EXIF of an image when it is opened for editing.

I checked the demo EXIF but it is reading everything to a grid and writing from grid. I don't want to read all the info and write all the info.

How can I do this?

TIA


Yogi Yang
4   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Jun 21 2020 : 03:46:59
Thanks Nigel.
I will try that.


Yogi Yang
xequte Posted - Jun 20 2020 : 03:53:02
Hi Yogi

The method I outline above does not prevent you from using the extra TIOParamsHelper.EXIF_* properties in iexMetaHelpers.


Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jun 19 2020 : 01:08:03
Hello,

Thanks for the tip. I know that part but as I said previously...
 
I am trying to use Helpers in iexMetaHelpers.

The reason why I want to use iexMetaHelpers is because I have observed that there are some attributes which are not available in io.Params.EXIF*

TIA


Yogi Yang
xequte Posted - Jun 18 2020 : 20:21:48
Hi Yogi

You can use:

// Update the GPS EXIF data in a file
io := TImageEnIO.create(nil);
try
  io.ParamsFromFile( FilenameStr );

  io.Params.EXIF_GPSLatitude  := GPSLatitudeFloat;
  io.Params.EXIF_GPSLongitude := GPSLongitudeFloat;
  io.Params.EXIF_GPSVersionID := GPS_Version_ID;

  io.InjectJpegEXIF( FilenameStr );
finally
  io.Free;
end;


https://www.imageen.com/help/TImageEnIO.InjectJpegEXIF.html

Nigel
Xequte Software
www.imageen.com