3 ms·
Exactly. There is a flattened RGBA image at the end of a PSD file, which has dimensions corresponding to dimensions of a project. Reading that flattened image
by IvanK_net 11y ago
Exactly. There is a flattened RGBA image at the end of a PSD file, which has dimensions corresponding to dimensions of a project.
Reading that flattened image from PSD takes 20 lines of code, while reading the structured content and producing final composition (blend modes, layer styles, masks, adjustment layers ...) takes at least 20 000 lines of code.
Row length encoding is used for storing channel data by default, so area with a constant color can be compressed much more efficiently, than area which has more "noisy" content.