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 Softimage.

Creating Thumbnail Images

The setthumb standalone lets you associate thumbnail icons to your presets, scenes, and models (.emdl files). 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 <asset filename> <bitmap filename>

Where <asset filename> is the name of the preset, scene, or .emdl file, including the 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 a 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

The getthumb standalone lets you extract the thumbnail icons from your scene, emdl, and user-defined preset files and save them as bitmap files.

Usage

getthumb <asset filename> <bitmap filename>
  • <asset filename> is the name of the scene, .emdl, or preset file including the 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