darktable page lede image
darktable page lede image

events.post-import-image

3.2. events.post-import-image

event

This event is triggered whenever a new image is imported into the database. This event can be registered multiple times, all callbacks will be called. The call is blocking.

3.2.1. events.post-import-image.callback

function( 
	event : string, 
	image : types.dt_lua_image_t
)

event
string

The name of the event that triggered the callback.

image
types.dt_lua_image_t

The image object that has been imported.

3.2.2. events.post-import-image.extra registration parameters

This event has no extra registration parameters.