convertPicture
convertPicture ( aPicture : picture , codec : string )
convertPicture ( aPicture : picture , codec : string , compression : number )
| Parameter | Type | Description | |
|---|---|---|---|
| aPicture | picture | ← | Picture to be converted |
| → | Converted picture | ||
| codec | string | → | Picture Codec ID |
| compression | number | → | Quality of compression |
Description
The convertPicture command converts aPicture into a new type.
The codec parameter indicates the type of picture to be generated. A Codec can be an extension (for example, ".gif") or a Mime type (for example, "image/jpeg"). You can get a list of Codecs that are available in the Picture Codec IDs section.