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 色

グラデーションのかかった画像に現在のパレットを分布

画像の黒から白へのグラデーションに現在のパレットの色が割り振られた。 グラデーションの黒い部分の色がパレットの索引の最初の色 (オレンジ) に差し替えられている。 同様にグラデーションの白い部分の色はパレットの最後の色 (赤) になった。 その他の灰色も濃度によりパレットの順序に従った色が展開している。