Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • I do not quite understand. Are you adding more layers to the file, but yet the number of layers is the same? What is in those layers? Commented Sep 13, 2024 at 16:26
  • @Rafael I add more layers to the PSD but they are not toggled to visible when saving to PNG, so my understanding is that if the layers aren't visible they won't affect the final file, but they are. A file with 3 visible layers is 1.5MB, but the same file with an addition of 200+ non-visible layers is now 1.7MB. Commented Sep 13, 2024 at 16:58
  • 1
    All the answers given so far are (more or less) speculative, because that's all they can be with the information you've provided. To determine the real cause of the phenomenon you've observed, you may need to show us some of these PNG files. Preferably two that look the same but have different sizes. Someone could then analyze the contents of the files and see what's making one of them bigger than the other. Commented Sep 14, 2024 at 8:27
  • @IlmariKaronen Any two PNGs with the same dimensions, but containing different images will most likely have different file sizes. This is a fact, not speculation. If they were the same, it would be mere coincidence. The OPs expectation seems to be that two PNGs with the same dimensions should have the same file size, which is simply not true. The difference in file size is caused by the lossless compression used in the PNG format itself. Nothing really to do with Photoshop or layers. This is really just a red herring. Correlation is not causation. The same thing happens in GIMP. Commented Sep 14, 2024 at 11:21
  • I didn't know this isn't a commonly known issue, sorry everyone. I have included my working file in the question, if you could please check to see if there's anything wrong with it that will be great. Commented Sep 14, 2024 at 16:29