3. events

This section documents events that can be used to trigger Lua callbacks.

3.1. events.intermediate-export-image

event

This event is called each time an image is exported, once for each image after the image has been processed to an image format but before the storage has moved the image to its final destination.

3.1.1. events.intermediate-export-image.callback

function( 
	event : string, 
	image : types.dt_lua_image_t, 
	filename : string, 
	format : types.dt_imageio_module_format_t, 
	storage : types.dt_imageio_module_storage_t
)

event
string

The name of the event that triggered the callback.

image
types.dt_lua_image_t

The image object that has been exported.

filename
string

The name of the file that is the result of the image being processed.

format
types.dt_imageio_module_format_t

The format used to export the image.

storage
types.dt_imageio_module_storage_t

The storage used to export the image (can be nil).

3.1.2. events.intermediate-export-image.extra registration parameters

This event has no extra registration parameters.