Indexed Palette

-- TOC --

缩小颜色范围,将缩小后的范围,采用另一种index来mapping。

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.

indexed-palette.png

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

本文链接:https://cs.pynote.net/ag/image/202206061/

-- EOF --

-- MORE --