8.40. Отображение палитры

8.40.1. Обзор

This plug-in recolors the image using colors from the active palette that you choose in the Palettes dialog.

It maps the contents of the specified drawable (layer, selection, etc.) with the active palette. It calculates luminosity of each pixel and replaces the pixel by the palette sample at the corresponding index. A complete black pixel becomes the lowest palette entry, and complete white becomes the highest. Works on both Grayscale and RGB images with or without alpha channel.

8.40.2. Activating the Filter

This filter is found in the main menu under ColorsMapPalette Map.

8.40.3. Пример

Рисунок 16.206. Активная палитры применена к градиентному изображению

Активная палитры применена к градиентному изображению

Активная палитра с 18 цветами

Активная палитры применена к градиентному изображению

Цвета палитры сопоставляются с чёрно-белым градиентом. Цвет с наименьшим индексом в палитре (оранжевый) заменяет чёрный цвет в градиенте. Цвет с наибольшим индексом (красный) заменяет белый цвет градиента. Остальные цвета распределены по порядку в палитре.