Extracted from Pike v7.4 release 341 at 2005-11-21.
pike.ida.liu.se
[Top]
predef::
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