dimage.types

Undocumented in source.

Members

Aliases

ARGB8888
alias ARGB8888 = ARGB8888Templ!(Endianness.Little)
Undocumented in source.
ARGB8888BE
alias ARGB8888BE = ARGB8888Templ!(Endianness.Big)
Undocumented in source.
RGB16_16_16
alias RGB16_16_16 = RGB16_16_16Templ!(Endianness.Little)
Undocumented in source.
RGB16_16_16BE
alias RGB16_16_16BE = RGB16_16_16Templ!(Endianness.Big)
Undocumented in source.
RGB888
alias RGB888 = RGB888Templ!(Endianness.Little)
Undocumented in source.
RGB888BE
alias RGB888BE = RGB888Templ!(Endianness.Big)
Undocumented in source.
RGBA16_16_16_16
alias RGBA16_16_16_16 = RGBA16_16_16_16Templ!(Endianness.Little)
Undocumented in source.
RGBA16_16_16_16BE
alias RGBA16_16_16_16BE = RGBA16_16_16_16Templ!(Endianness.Big)
Undocumented in source.
RGBA8888
alias RGBA8888 = RGBA8888Templ!(Endianness.Little)
Undocumented in source.
RGBA8888BE
alias RGBA8888BE = RGBA8888Templ!(Endianness.Big)
Undocumented in source.
YA16_16
alias YA16_16 = YA16_16Templ!(Endianness.Little)
Undocumented in source.
YA16_16BE
alias YA16_16BE = YA16_16Templ!(Endianness.Big)
Undocumented in source.
YA88
alias YA88 = YA88Templ!(Endianness.Little)
Undocumented in source.
YA88BE
alias YA88BE = YA88Templ!(Endianness.Big)
Undocumented in source.

Enums

Endianness
enum Endianness

Sets the byteorder of

PixelFormat
enum PixelFormat

Pixel format flags. Undefined should be used for all indexed bitmaps, except 16 bit big endian ones, in which case a single BigEndian bit should be set high. Lower 16 bits should be used for general identification, upper 16 bits are general identificators (endianness, valid alpha channel, etc). 0x01 - 0x1F are reserved for 16 bit truecolor, 0x20 - 0x2F are reserved for 24 bit truecolor, 0x30 - 3F are reserved for integer grayscale, 0x40 - 0x5F are reserved for 32 bit truecolor, 0xF00-0xF0F are reserved for "chunky" indexed images, 0xF10-0xF1F are reserved for planar indexed images.

Functions

getBitDepth
ubyte getBitDepth(uint format)

Returns the bitdepth of a format.

Structs

ARGB8888Templ
struct ARGB8888Templ(Endianness byteOrder = Endianness.Little)

Standard 32 bit pixel representation.

RGB16_16_16Templ
struct RGB16_16_16Templ(Endianness byteOrder = Endianness.Little)

48 bit RGB colorspace with 16 bit per channel.

RGB565
struct RGB565

16 Bit RGB565 colorspace with no alpha.

RGB888Templ
struct RGB888Templ(Endianness byteOrder = Endianness.Little)

24 Bit colorspace

RGBA16_16_16_16Templ
struct RGBA16_16_16_16Templ(Endianness byteOrder = Endianness.Little)

48 bit RGB colorspace with 16 bit per channel.

RGBA5551
struct RGBA5551

16 Bit colorspace with a single bit alpha. This is should be used with RGBX5551 with channel a ignored

RGBA8888Templ
struct RGBA8888Templ(Endianness byteOrder = Endianness.Little)

Standard 32 bit pixel representation.

RGBA_f32
struct RGBA_f32

4 * 32 bit floating point pixel representation. Used for RGBA conversion and other things.

YA16_16Templ
struct YA16_16Templ(Endianness byteOrder = Endianness.Little)

For monochrome images with a single channel

YA88Templ
struct YA88Templ(Endianness byteOrder = Endianness.Little)

For monochrome images with a single channel

Meta