Skip to main content

createThumbnail

createThumbnail ( source : picture , dest : picture , width : integer , height : integer , mode : integer , depth : integer )

ParameterTypeDescription
sourcepicture->Picture variable to convert as a thumbnail
destpicture<-Resulting thumbnail
widthinteger->Thumbnail width in pixels, Default value = 48
heightinteger->Thumbnail height in pixels, Default value = 48
modeinteger->Thumbnail creation mode Default value = Scaled to fit prop centered (6)
depthinteger->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.