Home / Lua API Manual / events / intermediate-export-image
< global_toolbox-overlay_toggle
mouse-over-image-changed >

# 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. The call is blocking.

# 🔗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).

# 🔗intermediate-export-image.extra registration parameters

This event has no extra registration parameters.

< global_toolbox-overlay_toggle
mouse-over-image-changed >