label an image with data from EXIF

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
rnmerchant
Posts: 38
Joined: Wed Nov 04, 2020 2:05 am

label an image with data from EXIF

Post by rnmerchant »

I have a series of photos for a lens test project. I'd like to add a label onto the image with some image data.

I imagined using the Text tool for this, and adding EXIF fields. I tried adding a text field and putting in the text box this:
{Exif:ShutterSpeedValue} f.{Exif:ApertureValue} FL.{Exif:FocalLength}
{Exif:LensInfo}

I then saved the image.... However this doesn't work to replace the fields with the appropriate info. All I see is the info I have entered, no translation...

Can anyone advise how I might accomplish this task?

Thanks Richard
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: label an image with data from EXIF

Post by xnview »

the Text tools in batch convert?
Pierre.
rnmerchant
Posts: 38
Joined: Wed Nov 04, 2020 2:05 am

Re: label an image with data from EXIF

Post by rnmerchant »

That doesn't work either: still puts the 'field codes text' in rather than the result...

I assume that I'm somehow formatting this incorrectly but I don't know how to change that.

Richard
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: label an image with data from EXIF

Post by xnview »

{EXIF:F-Number}{EXIF:Shutter Speed}{EXIF:Focal Length} works
Pierre.
rnmerchant
Posts: 38
Joined: Wed Nov 04, 2020 2:05 am

Re: label an image with data from EXIF

Post by rnmerchant »

Thanks Pierre:

That works. I was also able to add in {Lens Model}

I ended up putting each value on one line: that seemed to be more successful.

I think the difference here is that I was using EXIF codes from the internet; the ones I found didn't have any spaces. However in XNView the codes do have spaces, and this suggestion uses the codes that I see in XNView. Whether this is an XNView quirk or something more broadly based I don't know but the outcome is good anyway.

Image attached. Might be useful to put in the ISO value as well.

Richard
Attachments
A7R04004-70-300_result-2.jpg
A7R04004-70-300_result-2.jpg (485.6 KiB) Viewed 210 times
Post Reply