Metadata of 300Byte PNG file is 8.9 MBytes

  • 1
  • Problem
  • Updated 3 months ago
When saving a PNG from Photoshop, most of the time it produces PNG files with 8.9MB as a file size. When filing this bug to Apple it turned out that the metadata of the png file contains over 130.000 entries of photoshop (see attached file). 

This can't be intentional and is problematic especially in bigger projects I hope this can be addressed. Unfortunately I can't upload the png in question because 8.9MB exceeds the 2MB limit


Photo of Ferdinand Hof

Ferdinand Hof

  • 1 Post
  • 0 Reply Likes

Posted 3 months ago

  • 1
Photo of JEA

JEA

  • 259 Posts
  • 171 Reply Likes
You can use either File>Export As or File>Export>Save For Web and and uncheck Metadata.

see here for more info:

https://forums.adobe.com/message/10466256#10466256

Photo of Max Johnson

Max Johnson, Champion

  • 488 Posts
  • 235 Reply Likes
What JEA said. Also as a side note, the corrupted document ancestors data is saved in the PSD and also in every smart object inside that psd, so you can end up with a 2gb file that should only be  100mb. 

I narrowed it down to a subset of CC2017 versions of photoshop. 2015 and 2018 don't have that problem as long as you start a new doc.