Convert to Palettized (8 bit)  
Top  Previous  Next


Menu:   Convert > Palettized (8 bit)  
Script:   to8bit  

Use this command to convert an image into a 256-color bitmap. The command uses the quantization procedure which reduces the number of colors by mapping the original image to an 8-bit palettized color image. If you choose this command, the following options will become available:

Input
 
Displays the input image frame number. If you want to convert another image, type or select the corresponding value.  

Output
 
Displays the number of the frame in which the output image will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  

Colors
 
Lets you specify the number of colors to be included in the output image color palette. By default, ImageWarp sets it to the maximal value of 256 colors. Type or select another value if you want to limit the output image palette to a less number of colors.  

Mode
 
Lets you choose the color quantization mode:  
 
Median – performs the fast median-cut algorithm by searching for clusters of colors in the RGB coordinate space. Note that if the input image is a pseudo-colored gray one, the Median mode will convert it into an 8-bit colored image preserving the input image display palette. This feature can be used to export pseudo-colored images into other programs.  
 
Octal Tree – applies more precise method of color reduction using the tree of colors. The algorithms treats colors in the image as leaves on a tree and trims "smaller branches", until the number of "leaves" becomes less or equal to Colors.  
 
Halftone – creates a dithered output image using 256 colors from the standard halftone palette. The colors in the halftone palette are evenly distributed throughout RGB coordinate space. Note that Colors value has no effect in this mode as the output image palette will always contain 256 colors.  

Preview
 
Select this check box to watch the Preview of the output image.  

Apply
 
Click this button to execute the function.  
 
Record
 
Click this button to record the corresponding operator into the script.  
 
Close
 
Click this button to close the dialog box without performing any action.