nickmurison,

I'm currently trying to rid myself of #Lightroom and #AdobePortfolio and move to #darktable and #hugo instead.

One issue I've stumbled on is that I've historically used the image Title instead of the image Description, but both LR and DT have tended to write the image Title to the #IPTC or #XMP metadata categories, not to #EXIF. As of right now #hugo only seems to read #EXIF tags, so my photo titles aren't showing up when a #hugo theme tries to display captions.

Going through 100s of photos and copying the Title to the Description would be a royal pain. But luckily #exiftool comes to the rescue. For an entire directory of JPEG files I can simply run:

exiftool -tagsFromFile @ -'ImageDescription<Title' *.jpg

This copies the content of the Title tag into the #EXIF ImageDescription tag. And now the captions show up :)

gsuberland,
@gsuberland@chaos.social avatar

@nickmurison one thing to be careful with there is that ImageDescription is ASCII by spec, so certain characters (e.g. those with diacritic marks) may get mangled in the translation.

nickmurison,

@gsuberland Ooh good point! I haven't yet found a way to copy the Title from e.g. IPTC to Title in EXIF, if that's even possible and would solve the issue...

gsuberland,
@gsuberland@chaos.social avatar

@nickmurison almost all tags in Exif are ASCII, which is one of the main reasons XMP gained popularity.

Windows XP got around this by using nonstandard tag variants with "XP" as a prefix, e.g. "XPTitle", "XPSubject", etc. which use UCS2 encoding. these were later added to the Exif standard (somewhere around 2.0, iirc) but I don't know how many pieces of software check for the XP prefixed variant and decode it correctly.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • lightroom
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines