Apply Layer Mask does not seem to shrink document size
I have a document with only one layer that is 250MB. If I duplicate that layer, then the document becomes 500MB. (Using round numbers here). If I then take that new layer, create a layer mask, invert it to hide everything in the layer, and then select "Apply Layer Mask", the resulting layer appears empty/transparent, which is what you would expect. However, the document is still showing in PS as 500MB. What's wrong here? If I create an empty layer, it does not increast the document size. So what is the difference between a new empty layer, and an empty layer that was created as stated above by applying an inverted layer mask?
For those interested, the reason I need to do this is complicated but I will try to explain. I have a sharpening plugin that I use. I always run that plugin on a new layer and then I create an inverted layer mask and selectively paint in the sharpening only where needed. I could leave things that way, but having the document grow so large is not helpful, expecially when I am only painting in the sharpening to a small area of the total image. I was hoping that the "Apply Layer Mask" would shrink the document since it makes all the non masked pixels transparent.
I am running PS 2024 25.7.0 release on Sonoma 14.4.1.
Am I missing something? Other than free disk space? 😀
