Metadata of 300Byte PNG file is 8.9 MBytes

  • 1
  • Problem
  • Updated 2 years 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 2 years ago

  • 1
Photo of JEA


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

see here for more info:

Photo of Max Johnson

Max Johnson, Champion

  • 624 Posts
  • 338 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.