User's Manual

120 Chapter 3
Parameters
Netscape - if set to “true”, applies the Netscape default palette as an alternative to
applying the default custom palette.
BW - if set to “true”, applies the two-color, black and white palette.
Pad - ensures that the palette always contains the required number of colors. In a situation
where there are fewer unique colors in the image than required for the palette, the extra
colors are padded with black. If pad is not specified, the palette will shrink down to the
number of unique colors available.
PreserveBackground - when dithering is used, eliminates any pixels in the source
image that match the background color from the dithering process in the destination
image. This can be used to eliminate fuzzy edges for an object against a solid color
background.
Nowarp - if set to “true”, turns off the normal color space warping that occurs when
searching for a closest color to take into account the bias in the human eye. This is useful
when reducing an image to an existing palette with a small number of colors, such as the
Windows 16-color palette.
Name - specifies a palette file as the palette to be applied to the image. The following color
palette files are installed on MediaRich:
128_Grays.pal
16_Grays.pal
256_Grays.pal
32_Grays.pal
4_Grays.pal
64_Grays.pal
8_Grays.pal
Macintosh_16.pal
Macintosh_256.pal
Netscape.pal
Windows_16.pal
Windows_256.pal
The default location for palette files is:
MediaRich/Shared/Originals/Media/Palettes
You can store additional palette files in this directory and use the Name parameter to
specify the palette to be applied to the image.
NOTE: You can modify the MediaRich servers local.properties file to change the default
Media/Palettes directory. See the MediaRich Administrators Guide for more information.