I think you'll find that once you write the images to disk in any of the popular (gif/jpg/png) formats, they'll be stored as 8-bit indexed palletised images.
The tiff file format might theoretically support 4-bit indexes; but I've never come across one; nor any tool that would write one?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
| [reply] |
You'd be wrong.
Imager can write to bmp, png, tif, ico at 4 bits per pixel, though png was only added to that list in Imager 0.90 (April 2012).
GIF is a special case - if the stored palette is 4 bits (16 colors) then it will start compression with a 5 bit code size, there's none of the packing 2 indices per byte as for the other formats.
| [reply] |
I stand corrected. Thankyou.
Out of interest, what triggers the writing of a 4-bit per pel .png?
Is it simply if the image is palettised and only uses 16 colors? I couldn't see any mechanism for forcing it.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
| [reply] |