darktable.collection
Allows to access the currently worked on images, i.e the ones selected by the collection lib. Filtering (rating etc) does not change that collection.
🔗darktable.collection.#
Each image in the collection appears with a numerical index; you can iterate them using ipairs.