Module retroimg::color[][src]

Modules

cga
ega

Structs

BackForePalette

Color depth emulating a combination of one freely selectable background color (B) with any of the other colors (F).

BestPalette

A collection of palettes, the one yielding the lowest loss is used.

FixedPalette

Color depth defined by a hardware-level palette of RGB colors.

MappingColorDepth
TrueColor24BitMapper

True 24-bit color, 8 bits per channel, virtually no limit in color depth.

Vga16BitMapper
Vga18BitMapper

Traits

ColorDepth

Color depth image converter.

ColorMapper

Functions

colors_to_image

Type Definitions

TrueColor24Bit
Vga16Bit

VGA 16-bit color, also called High color mode in legacy systems (5 bits for red and blue channels, 6 bits for green)

Vga18Bit

VGA 18-bit color (64 levels per channel)