| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Image
Image.PVR

# 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