8.34. Color to Alpha

8.34.1. Overview

Figure 15.186. Example for Color to Alpha

Example for “Color to Alpha”

Original image

Example for “Color to Alpha”

Color to Alpha applied on blue areas


The Color to Alpha command makes transparent all pixels of the active layer that have a selected color. An Alpha channel is created. It will attempt to preserve anti-aliasing information by using a partially intelligent routine that replaces weak color information with weak alpha information. In this way, areas that contain an element of the selected color will maintain a blended appearance with their surrounding pixels.

8.34.2. Activate the filter

This filter is found in the image window menu under ColorsColor to Alpha.

8.34.3. Options

Figure 15.187. Color to Alfa command options

“Color to Alfa” command options

Color

Clicking on the From color swatch provides a color selection dialog where you can select a color. If selection of a precise color is required, use the Color Picker then drag and drop the selected color from the color picker to the From color swatch. Right clicking on the color will display a menu where you can select Foreground or Background colors, White or Black.