Home / Lua API Manual / events / darkroom-image-history-changed
< overview
darkroom-image-loaded >

# darkroom-image-history-changed

`event`

This event is triggered from darkroom view whenever an image’s history has changed and another image is being loaded or darkroom view is being changed to another view.

# 🔗darkroom-image-history-changed.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 loaded into darkroom view

# 🔗darkroom-image-history-changed.extra registration parameters

This event has no extra registration parameters.

< overview
darkroom-image-loaded >