Metadata on processed images

The documentation for Meta states:

Metadata is not preserved during image transformation. Use this method with the original image resource to extract metadata from supported formats.

Is there any current or planned way to (re-)attach metadata to processed images on output?

Stripping the metadata generally seems like a good idea, but I would like to be able to attach a copyright note (and possibly title/caption/date) to my output images.

You can use exiftool to copy metadata from the original to the processed image

No plan, but why not use the metadata in the original?

guess the original images won’t reach the target site and the download images should contain the info.

just seen that one but i am unable to judge functionality, integration or production readiness…nevertheless might be worth a quick look GitHub - FlavioCFOliveira/GoMetadata: A pure Go library for reading and writing EXIF, IPTC, and XMP metadata from any image format. · GitHub

OK, I misunderstood the question. Yes, I agree that writing some metadata (copyright etc.) would be useful.

When I implemented metadata reading for JPEG, TIFF, PNG, WebP, JPEG XL, HEIF/HEIC, AVIF, DNG, CR2, NEF, PEF and ARW (all doing this slightly differently) I swore to myself that I would never touch the writing side of this. But the amount of formats we have encoders for are a smaller set, so maybe.

Hello
In my usecae, I write the metada to originals. All processed files are displayed with a link to an original with metadata.

Another solution is a script before generating public files, which script will read and store metadata in data/*.json files, which can be used.

Byt maybe I lisunderstand your needs.