Import Palette

PotterDraw

Import Palette

This command imports a palette from a file. The file must be plain text. Each line is expected to contain an RGB color value, consisting of three decimal numbers, separated by tabs or spaces. These numbers are the color's red, green, and blue values, and they should be in the range 0 to 255. Any other information in the file is ignored. The palette size is inferred from the number of colors found in the file.

Note that large palettes may cause the error message "Texture is too wide." To avoid this error, try reducing Color Sharpness to ten or less. The issue is that during texture synthesis, the texture width is determined by multiplying the palette's number of colors by Color Sharpness. Texture width is typically limited to 8,192 pixels, though the actual limit is platform-dependent.