[Top]
Image
Image.BMP
|
Method Image.BMP.decode()
- Method
decode
-
object Image.BMP.decode(string data)
mapping Image.BMP._decode(string data)
mapping Image.BMP.decode_header(string data)
object Image.BMP.decode(string data, mapping options)
mapping Image.BMP._decode(string data, mapping options)
mapping Image.BMP.decode_header(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
-
-
encode
|