Lua: Detect if image is modified

Hi,

I’m searching for the Lua equivalent for the “± in a circle” at the top right on the thumbnails. Is there any way to detect in Lua if the image has been modified?

Not currently, but if you go to https://github.com/darktable-org/issues and open a feature request to add one (along with making the added timestamps accessible) I’ll add it.

What did you mean by “along with making the added timestamps accessible”? To include the import/modified/export/print timestamps in the request?

It was more a reminder to me. There are more timestamps (print, import, etc) attached to an image so I figured I’d take care of that while I was in that piece of code

The status “altered” of an image doesn’t depend on timestamp, but on history_hash.

I submitted the FR: #9682

1 Like

I know, I just figured since I was in that piece of code I would also expose the new timestamps to the API.

All ok then :slight_smile: