createThumbnail
createThumbnail ( source : picture , dest : picture , width : integer , height : integer , mode : integer , depth : integer )
| Parameter | Type | Description | |
|---|---|---|---|
| source | picture | → | Picture variable to convert as a thumbnail |
| dest | picture | ← | Resulting thumbnail |
| width | integer | → | Thumbnail width in pixels, Default value = 48 |
| height | integer | → | Thumbnail height in pixels, Default value = 48 |
| mode | integer | → | Thumbnail creation mode Default value = Scaled to fit prop centered (6) |
| depth | integer | → | Obsolete, do not use |
Description
The createThumbnail command returns a thumbnail from a given source picture. Thumbnails are usually used for picture preview within multimedia software or Web sites.