Method Image.PVR.encode() Method encode string encode(object image) string encode(object image, mapping options) Description encode a PVR image options is a mapping with optional values: "alpha":object - alpha channel "global_index":int - global index "vq":int(0..1) - Vector Quantification compression