Image

Undocumented in source.

Members

Enums

ResizeAlgo
enum ResizeAlgo
Undocumented in source.

Functions

copy
Image copy()
Undocumented in source.
getPixel
Pixel getPixel(size_t x, size_t y, bool scaleToByte)
Undocumented in source.
opIndex
Pixel opIndex(size_t x, size_t y, bool scaleToByte)
Undocumented in source.
resize
bool resize(uint newWidth, uint newHeight, ResizeAlgo algo)
Undocumented in source.
setPixel
void setPixel(size_t x, size_t y, Pixel p)
Undocumented in source.
setPixel
void setPixel(size_t x, size_t y, const(ubyte[]) data)
Undocumented in source.
setRow
void setRow(size_t y, const(ubyte[]) data)
Undocumented in source.
write
bool write(string filename, ImageFormat fmt)
Undocumented in source.

Properties

bitDepth
const(uint) bitDepth [@property getter]
Undocumented in source.
height
const(uint) height [@property getter]
Undocumented in source.
pixelFormat
const(Px) pixelFormat [@property getter]
Undocumented in source.
pixels
const(ubyte[]) pixels [@property getter]
Undocumented in source.
pixels
ubyte[] pixels [@property getter]
Undocumented in source.
pixelsPtr
ubyte* pixelsPtr [@property getter]
Undocumented in source.
stride
const(int) stride [@property getter]
Undocumented in source.
width
const(uint) width [@property getter]
Undocumented in source.

Meta