label an image with data from EXIF

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

Moderator: xnview

Post Reply
rnmerchant
Posts: 45
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: 47034
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: 45
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: 47034
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: 45
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
You do not have the required permissions to view the files attached to this post.
Post Reply