Method Image.DSI.encode()
- Method
encode
string(8bit)encode(Image.Imageimg)- Description
Encode the image to DSI format.
- Note
Pixels of color full red, no green, full blue (ie full magenta) will be regarded as transparent by decode(). Pixels that would have mapped to that color (
0xf81f) by the colorspace reduction will instead be mapped to full red, min green, full blue (0xf83f).