guetzli icon indicating copy to clipboard operation
guetzli copied to clipboard

New Command Line Flag for tags or comments

Open sunatthegilddotcom opened this issue 8 years ago • 3 comments

Hi Team,

We would like to add a tag "compressed" after the image is compressed, and also have guetzli to check the tag, if it contains specific "compressed", it will ignore the images without compressed it again? Can this be done easily? Thank you very much in advance

sunatthegilddotcom avatar Apr 07 '17 23:04 sunatthegilddotcom

I wrote a tool which does just that. https://github.com/romainmenke/simple-guetzli

romainmenke avatar Apr 08 '17 06:04 romainmenke

@romainmenke's tool is brilliant, and records progress in a log file.

If you're asking for this tag to be recorded in an image's EXIF data, guetzli currently strips EXIF data. Patch #175 has been submitted to add the option of preserving EXIF, and this would probably need to be merged before EXIF tagging would be an option.

I see the wisdom of both approaches. For my personal use case, an EXIF tag would work better.

mgrhm avatar Apr 08 '17 10:04 mgrhm

@romainmenke @mgrhm. Thank you very much for your help. I would like to have a command line flag to add EXIF tag.

sunatthegilddotcom avatar Apr 09 '17 22:04 sunatthegilddotcom