Indexed Palette

-- TOC --


Other ways to encode a color image

Many other possible models may be used to represent the colors that make up an image. We could, for instance, use an indexed palette where we'd only need a single byte to represent each pixel instead of the 3 needed when using the RGB model. In such a model we could use a 2D matrix instead of a 3D matrix to represent our color, this would save on memory but yield fewer color options.


假如按此方法来将true color降为256color,会不会成为一个压缩方案?


-- EOF --

-- MORE --