Page 1 of 1

label an image with data from EXIF

Posted: Wed Mar 05, 2025 6:21 am
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

Re: label an image with data from EXIF

Posted: Wed Mar 05, 2025 8:16 am
by xnview
the Text tools in batch convert?

Re: label an image with data from EXIF

Posted: Wed Mar 05, 2025 6:06 pm
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

Re: label an image with data from EXIF

Posted: Thu Mar 06, 2025 7:47 am
by xnview
{EXIF:F-Number}{EXIF:Shutter Speed}{EXIF:Focal Length} works

Re: label an image with data from EXIF

Posted: Sat Mar 08, 2025 8:05 pm
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