The object represents an affine coordinate transformation that maps points from rectangle (x0, y0, w0, h0) to rectangle (x1, y1, w1, h1).
Abstract base for all pixel formats.
Inheritance diagram:
24-bit pixel format, with:
byte order.
red_mask, green_mask and blue_mask are bit masks for color components for each pixel. The resulting color is then xored with the xor_value.
For example, PixelFormatRgbMask(0xf800, 0x07e0, 0x001f, bpp=16) is a highcolor format with:
Palette pixel format.
palette must be a dictionary which contains 216 (6 x 6 x 6) entries of a web color cube, such that:
Bitonal, 1 bit per pixel format with: