8.41. Palette Map
| 8. ”Färg”-menyn |

### 8.41. Palette Map

#### 8.41.1. Översikt

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

It maps the contents of the specified drawable (layer, selection...) 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.41.2. Activating the filter

This filter is found in the image window menu under Colors → Map → Palette Map.

#### 8.41.3. Exempel

Figur 16.226. The active palette is applied to a gradient image

The current palette, with 18 colors

The colors of the active palette are applied to a black to white gradient. The color with the lowest index in the palette (orange) replaces the black color in the gradient. The color with the highest index in the palette (red) replaces the white color in the gradient. The other colors spread out in the order of the palette.

8.40. Gradient Map |  | 8.42. Sample Colorize

Report a bug in GIMP Rapportera ett dokumentationsfel