The OpenD Programming Language

gamut.image

Gamut public API. This is the main image abstraction.

Members

Enums

ImageFormat (from gamut.types)
enum ImageFormat via public import gamut.types : ImageFormat;

Image format. It is the kind of container/codec formats Gamut can read and write to.

Functions

freeEncodedImage
void freeEncodedImage(ubyte[] encodedImage)

Deallocate an encoded image created with saveToMemory.

freeImageData
void freeImageData(void* mallocArea)

Deallocate pixel data. Everything allocated with allocatePixelStorage or disowned eventually needs to be through that function.

Structs

Image
struct Image

Image type. Image has disabled copy ctor and postblit, to avoid accidental allocations.

Meta