Rotate palette  
Top  Previous  Next


Menu:   Processing > Palette> Rotate palette  
Script:   rotatePal  

Use this command to modify an image palette
by "rotating" its entries. If you choose this command, the Rotate palette dialog box will appear with the following options:

Input
 
Displays the input image frame number. If you want to rotate the palette of 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.  
 
Mode
 
Lets you choose the mode of changing the settings.  
 
Click Dialog to rotate palette by moving the corresponding slider.  
 
Click Mouse to rotate the palette by moving your mouse. Moving the mouse leftward or rightward makes the palette entries shift downward and upward respectively. To switch to the Dialog mode, press the right mouse button.  
 
Note that if the RoatetPal function was called from the script with the MOUSE mode selected, the dialog box will not appear.  
 
Click Auto if you want the palette rotate in the automatic mode. To apply the changes and exit the function, press ENTER. To exit the function without applying the changes to the image, press ESC.  
 
Preview
 
Displays the palette to be copied.  
 
Shift
 
Lets you select the number of entries in the image palette at which the original palette will be shifted. As you move the slider, the palette will be animated in real time in the Preview pane as well as in the Input image..  
 
All colors
 
Select this option if you want to include all palette entries into the rotation. If this option is unchecked, the zero index will remain unchanged.  
 
OK
 
Closes the dialog box and creates the Output image with the rotated palette.  

Cancel
 
Closes the dialog box without performing any action and restores the original palette of the Input image.  
 
Note – this command is not valid for true color images.