Creating and Extracting Thumbnail Images for Presets
Using the setthumb and getthumb standalones, you can create and extract images to be used as thumbnails in XSI.
The setthumb standalone lets you associate thumbnail icons to your user-defined presets. setthumb takes a bitmap file and adds it to the preset file so that when the preset is viewed in the browser with icon mode active, its thumbnail image is displayed.
Usage
setthumb <preset filename> <bitmap filename>
Where <preset filename> is the name of the preset file, including the .preset extension, and <bitmap filename> is the name of the bitmap file, including the .bmp extension, that you want to use as the thumbnail for the preset file.
If the setthumb standalone cannot find the preset file in the path you have specified at the command line, it tries to locate the preset file in the default installation path for all presets (<install path>\Data\DSPresets).
The thumbnail image must be a standard bitmap file with a width and height of 128 × 128 pixels. If the image is larger than 128 × 128 pixels, it is cropped to fit these dimensions.
Example
To associate a bitmap image called myThumbnail to a preset file called myPreset, type the following at the command line:
setthumb myPreset.preset myThumbnail.bmp
Extracting Thumbnail Images from Presets and Scenes
The getthumb standalone lets you extract the thumbnail icons from your scene files and user-defined presets and save them as bitmap files.
Usage
getthumb <preset filename>|<scene filename> <bitmap filename>
• <preset filename>|<scene filename> is the name of the preset file (including the .preset extension) or scene file (including the .scn extension).
• <bitmap filename> is the name of the bitmap file (including the .bmp (or other) extension) to which you want to save the thumbnail.
Example
To extract the thumbnail from a preset file called myPreset and save it as a bitmap file called myThumbnail, type the following at the command line:
getthumb myPreset.preset myThumbnail.bmp
To extract the thumbnail from a scene file called myScene and save it as a bitmap file called myThumbnail, type the following at the command line:
getthumb myScene.scn myThumbnail.bmp
SOFTIMAGE|XSI v.6.01