Oddly large PSD file
Tuesday, March 5, 2013 by Jafo | Discussion: Skinning
Whilst skinning in layers...in PSDs....using PE2.0 [yes, it's old...but it was a freebie with a graphic card or printer or something]...I have 5 main images making up the bits to be skinned.
They're all 2048x2048 32bit....and all have layers.
4 of the 5 range from 15meg to 37meg.....no dramas there....except for the fifth....it's 128meg....probably 10 times bigger than it should be.
And nope...it's not about layers.....the most layers [30] is actually the 15meg image. This darn 128 meg one only has 12.
I didn't originate any of these....I'm simply adding to/improving them.
Short of systematically extracting each of the ten layers as separate trans images and recompiling them.... is there anything that 'cleans' out whatever dross is within the file and causing the bloat?
Reply #3 Tuesday, March 5, 2013 7:52 AM
To answer both...all the images are 2048x2048 [Uvah...that's the pixel count] 32bit [moshi....no difference in colour depth].
The 'only' difference is number of layers.....where 30 of them becomes 15meg....and 12 of them become 128meg.
As to what they show...ie painted pixels vs transparency ....essentially the same ratio.
Reply #4 Tuesday, March 5, 2013 7:55 AM
Now....when a layer is 'deleted' does it still hang around like a bad smell - adding to the size? [though again, all of them have had layers deleted/added/etc]
Reply #5 Tuesday, March 5, 2013 8:14 AM
i just tried a photo of the same size with 8 bit per channel color depth (=32bit).
12 fully opaque layers = 155 MB
so i still think "real" color depth and transparency are the key. PSD is lossless, but there are some compression algorythms that would make a file smaller if there are areas of the same color.
Reply #6 Tuesday, March 5, 2013 8:29 AM
I'll strip out all the layers as individual images...then 'combine' them to a new psd....and see what happens.
Reply #7 Tuesday, March 5, 2013 8:31 AM
Well, one way is this: http://www.photoshopessentials.com/photo-editing/photoshop-file-size/ but that refers to Ctrl+J vs. adjustment layers.
I would think that you'd really have to go through all the layers of the files and see if there was needless duplication of image files (actual pixels) instead of an adjustment layer of one sort or another.
The best discussion of it I've seen is here: http://www.photoshopessentials.com/photo-editing/photoshop-file-size/
The essential question is "How good does the image have to be?" and whether beyond a certain point is the law of diminishing returns working. The classic example would be, you working in 32 bit and then outputting to 8 bit.
Also, you can certainly store PSDs you're done in "Save for web" format, if that does not compromise (seriously/perceptibly) the image you're going to use.
Once you delete a layer, it's gone - as far as I understand it.
Reply #8 Tuesday, March 5, 2013 8:44 AM
The whole issue is that these 5 files are the same format...the same origin...the same everything. There is no visible/physical reason why one would be something like an ORDER OF MAGNITUDE too big.
It's not 'a bit bigger'...it's stupidly bigger.
I didn't click 'compatibility mode' on one and not the other [any diff would be about 10% anyway...not 1000%] I din't compress one and not the others....I didn't compress any of them.
Simply one MUST be full of some form of crud that it doesn't need.
Reply #9 Tuesday, March 5, 2013 8:48 AM
Here's the thing...grabbed 128meg of layered [12] psd....loaded it into PSP6 [different proggy....just to be sure]....copied out all the layers....all 12....and combined them into a new psd...and saved it.
Size?
14meg.
Round about where I'd assumed it'd be..... BECAUSE it's the same critter as the other 4 images.
It has me stumped....![]()
Reply #10 Tuesday, March 5, 2013 9:34 AM
Could the resolution have been higher for that one file?
Reply #12 Tuesday, March 5, 2013 4:06 PM
As mentioned in #9, I 'rebuilt' the image by copying out each layer as separate images...then recompiled them as a new 12-layer psd.
They have EXACTLY the same layers and even their names and degree of transparency are identical.
The original 12 layer image was 134,077 kb.
The new 12 layer image is 16,037 kb.
I need some sort of 'tool' to find out what the difference of 118,040 kb is due to.
Reply #14 Tuesday, March 5, 2013 4:46 PM
Saving psd files from different programs or different versions of same programs will impact the file size,
in Photoshop for example, it does save a lot of data into the psd, sometimes this data is related to
effects, vectors, masks, etc, but also related to file info RAW / EXIF / IPTC
You can remove the image info (RAW / EXIF / IPTC) by clicking File > File info > Advanced tab
Select the items on the list and click the trash can icon at the top right, click ok and save.
Another tip to make any psd smaller in case you need to send it over to someone, for example,
is just hid all layers and save the psd with the them hidden, this will make the file really smaller.
I hope this tricks help you
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!








Reply #1 Tuesday, March 5, 2013 7:14 AM
without having the file there can be only guessing.
probably higher color depth in that image.