Method Image.BMP.decode()
- Method decode
decode(object
string
data
)
_decode(mapping
string
data
)
decode_header(mapping
string
data
)
decode(object
string
data
,mapping
options
)
_decode(mapping
string
data
,mapping
options
)
decode_header(mapping
string
data
,mapping
options
)- Description
-
Decode a BMP.
decode gives an image object, _decode gives a mapping in the format
"type":"image/x-MS-bmp", "image":image object, "colortable":colortable object (if applicable) "xsize":int, "ysize":int, "compression":int, "bpp":int, "windows":int,
- Returns
-
the encoded image as a string
- Bugs
-
Doesn't support all BMP modes. At all.
- See also