Jump to content

Color conversion

From EDM2
Revision as of 13:24, 14 November 2017 by Martini (talk | contribs) (Created page with "Changing one color format to another. Required, for example, when the source color format is different from the destination color format. When going from the monochrome color ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Changing one color format to another. Required, for example, when the source color format is different from the destination color format. When going from the monochrome color format to the color format, 1 (one) bits are converted to the image foreground color, and 0 ( zero) bits are converted to the image background color.

When going from color to monochrome, all pels that match the passed background color are converted to the image background color of the destination.

All other pels are converted to the image foreground color of the destination. The color conversion takes place prior to any mix mode.