The OpenD Programming Language

std.experimental.color.packedrgb

This module implements the packed RGB _color type.

It is common in computer graphics to perform compression of image data to save runtime memory. There is a very wide variety of common compressed image formats. This module aims to support all of them!

Members

Enums

isPackedRGB
eponymoustemplate isPackedRGB(T)

Detect whether T is a packed RGB color.

Structs

Buffer
struct Buffer(size_t N)

Buffer used for bit-packing.

ComponentInfo
struct ComponentInfo

Component info struct.

PackedRGB
struct PackedRGB(string format_, ComponentType_, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)

A packed RGB color, parameterised with format, unpacked component type, and color space specification.

Meta

Authors

Manu Evans