Re: reduce image color depth (24 to 8 )
Thursday, March 24, 2005 09:42 AM
An 8-bit color-image usually works with a so-called look-up table or a palette. In case of an 8-bit color-depth there are 256 selected rgb-colors in the palette. For example, color #13 may be R:64, G:255, B:128.
Not all formats support a palette. JPEG doesn't. GIF (max. ColorDepth is 8bit), PNG and TIFF do.
An 8-bit grey-image consists of 256 linear grey-levels (0-255).