Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Image
Image.PVR

Method Image.PVR.encode()


Method encode

string Image.PVR.encode(object image)
string Image.PVR.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