Page 1 of 1
suggestion : Copy transformation and metadata
Posted: May 20th, 2025, 6:49 pm
by pierrelabreche
If an image is saved from a branch created using a Copy transformation at the top, the metadata is unavailable.
Wouild it be possible to let the metadata from the original image flow through the copy transformation ?
Re: suggestion : Copy transformation and metadata
Posted: May 20th, 2025, 7:01 pm
by jsachs
There is code to do this already -- I need more information to reproduce the issue.
Re: suggestion : Copy transformation and metadata
Posted: May 20th, 2025, 11:45 pm
by pierrelabreche
Screenshot and script attached

- 2025-05-20 PWP Copy missing Metadada.jpg (141.93 KiB) Viewed 131 times
Re: suggestion : Copy transformation and metadata
Posted: May 21st, 2025, 6:18 am
by jsachs
Currently this only works if Copy has a single active input. A similar issue exists with other top-level transformations such as Layout or Stack Images that may have multiple inputs. With some work, Copy could be treated as a special case since it only has one input at a time, but it does not work that way now.
Re: suggestion : Copy transformation and metadata
Posted: May 21st, 2025, 11:01 am
by pierrelabreche
A similar issue exists with other top-level transformations such as Layout or Stack Images that may have multiple inputs. With some work, Copy could be treated as a special case since it only has one input at a time, but it does not work that way now.
Because Copy identifies its active input, it is logical to flow down the metadata from the active input.
For stack and layout, it could be useful to define an "Override metadata" transformation that would copy applicable metadata from an identified input image to another. Alternatively the transformations with multiple inputs could have a mechanism to identify which of the inputs is to be used for metadata.