Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

ExifReader

This shows how to get all the tags, and then pull the description out (which is where Lightroom Classic stores it)

Code

#!/usr/bin/env node

const ExifReader = require('exifreader')
const input_file = '/Users/alan/Photos/web-exports/aws-2022-0315-1507-0001.jpg'

async function runIt() {
  const tags = await ExifReader.load(input_file)
  console.dir(tags)
}

runIt()

Using ExifReader to process photos

https://github.com/mattiasw/ExifReader

Code

npm install exifreader