L1, L2, L4 pixels #2036
-
in PDF files, PNG images saves with bit depth of 1, 2, 4 and 8. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You're mixing up what bit depth represents in PNG. PNG bit depth of 1 means 1 bit per sample or per palette index (not per pixel). A 1 bit PNG will contain up to 2 colors in the palette. Those colors are stored in RGBA format (32bit). L8 is a 1 byte (8 bits) pixel format that is generally used to describe luminance (grayscale). You would use this if you new that your image was grayscale only or you wanted it to be. |
Beta Was this translation helpful? Give feedback.
You're mixing up what bit depth represents in PNG.
PNG bit depth of 1 means 1 bit per sample or per palette index (not per pixel).
A 1 bit PNG will contain up to 2 colors in the palette.
A 2 bit PNG will contain up to 4 colors in the palette.
and so on...
Those colors are stored in RGBA format (32bit).
L8 is a 1 byte (8 bits) pixel format that is generally used to describe luminance (grayscale). You would use this if you new that your image was grayscale only or you wanted it to be.