: Photoshop Reducing File Size by Hiding Layers I've recently learned that hiding Photoshop layers will reduce the file size. After searching around the Adobe forums I can't find anything stating
I've recently learned that hiding Photoshop layers will reduce the file size.
After searching around the Adobe forums I can't find anything stating this. There are only about half a dozen sites on Google that I found mentioning this trick as well.
I have a 300mb file with roughly 6 layers. When the layers are hidden it trims about 100mb off of the total file size.
I'm wondering what information is either compressed or lost by hiding layers?
Will the file still be safe for print?
Will the file still maintain it's compatibility options for other programs like Lightroom?
All of the articles I found talking about this trick don't explain exactly what's going on with this, and what information is being left out or compressed. Any ideas would be appreciated. Thanks!
More posts by @Bryan765
3 Comments
Sorted by latest first Latest Oldest Best
I suspect it would take someone from the Photoshop Dev team to really explain this clearly.
My understanding is that internal proprietary data regarding visible layers is either included or not based on layer visibility state. This is combined with the internal composite preview to further alter file size.
For example, if a layer is not visible, Photoshop does not need to store the data generated when the layer is visible. Things like anti-aliasing, blend modes, opacity variations, etc. (essentially blending options) are all superfluous when a layer is not visible. So that data does not need to be stored and can quickly be regenerated when the layer is made visible at a later point. Blending options data can get lengthy because each layer can interact with every layer below or above itself.
The short answer... Composite data is stored differently.
A file preview is not the same as a flattened, full res snapshot of your image. The latter is saved for compatibility purposes, when you save it as such. The layers are flattened but there should be no other form of compression in the compatibility version of the file, hence the large size.
If you don't need to worry about compatibility, which you obviously don't if you're turning the layers off, then just turn off compatibility mode. It's usually inactive on my files. If you have to distribute a file for another person's use, just save a version.
I just did the test and in fact in my test with all layers hidden got a file about 1 MB smaller.
I proceeded to save it with all layers visibility on but this time disabling the "maximize compatibility" option - the result was the same.
So the thing is, Photoshop saves some kind of high res preview of the file when "maximize compatibility" option is turned on. This info is then used in programs like irfanView, google viewer and even adobe bridge for previewing purposes. With all layers visibility hidden this preview will be essentially empty thus the file size decrease.
You can turn off maximize compatibility in preferences > file handling
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.