Leanify icon indicating copy to clipboard operation
Leanify copied to clipboard

Keeping metadata

Open javiergutierrezchamorro opened this issue 7 years ago • 4 comments

It is documented that most metadata is removed from most formats, with the exception of keep-exif swith.

Would be nice having a global flag to not remove any metadata at all, or to selectively keep it as keep-iptc, ...

javiergutierrezchamorro avatar Oct 30 '16 15:10 javiergutierrezchamorro

I don't think I can have a global flag anytime soon since leanify is designed to remove all metadata from the beginning, but I could add some flags like keep-iptc and keep-icc-profile for jpeg and png.

JayXon avatar Dec 03 '16 03:12 JayXon

Thanks. That would be enough for starting.

javiergutierrezchamorro avatar Dec 03 '16 06:12 javiergutierrezchamorro

As an intermediate to a --keep-all-metadata, wouldn't it be reasonable to have a --keep-all-known-metadata (-kakm, for short, maybe), which simply combines all current & future --*keep* switches?

TPS avatar Dec 04 '16 14:12 TPS

I don't like the idea of a vaguely defined switch, I want all the switches to have a well defined expected behavior that doesn't depend on the implementation.

JayXon avatar Dec 04 '16 22:12 JayXon