Method Image.XPM.encode()
- Method
encode
stringencode(Image.Imageimage,mapping|voidoptions)- Description
Encode the given image as a XPM image.
This will, at least currently, always produce a 2-characters-per-pixel XPM.
The supported options are:
"name":string(1..128)"colortable":Image.Colortable"alpha":Image.Image"comment":string(1..128)