Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a possibility to export a PNG with zero metadata? #372

Closed
talecrafter opened this issue Nov 7, 2016 · 2 comments
Closed

Is there a possibility to export a PNG with zero metadata? #372

talecrafter opened this issue Nov 7, 2016 · 2 comments

Comments

@talecrafter
Copy link

Hello. Don't know if this is the right place to ask. If not, sorry.

The problem I am facing is this: Using Photoshop->File->Generate->ImageAssets in an automated pipeline where I want to check if generated files got changed for real with an MD5 checksum. When I just toggle a layer off and on again and save, it get's a different MD5, probably because of a modification date in the XMP Metadata.
Another test I made: A single image, using the Export for Web, PNG, and MetaData set to none also yields to different checksums when adding and removing a pixel. Which makes me fear that this metadata gets added in an application layer that's not accessible from the outside.

Is there an option in the config to suppress this, to get an image with zero or non-changing meta data?

@mcilroyc
Copy link
Contributor

I just did a very simple, quick test of this and I believe that PNGs created with FLITE transcoder (not imagemagick) do not contain the mod time metadata. I was able to produce identical files. FLITE will soon be the default, but you can configure the use-flite option via config file. https://github.com/adobe-photoshop/generator-assets/wiki/Configuration-Options.

Please re-open this bug if you find this workaround insufficient, or have other counter examples even with FLITE.

@talecrafter
Copy link
Author

That's awesome to hear. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants