BMPImage

*

Constructors

this
this(BMPHeader header, ubyte[] pixelData)

*

Members

Functions

getData
ubyte[] getData()

*

getHeight
uint getHeight()

* Retursn image height in pixels.

getRGBAPixel
Color4 getRGBAPixel(int x, int y)

*

getRGBPixelColor
float getRGBPixelColor(int x, int y)

*

getSize
uint getSize()

*

getWidth
uint getWidth()

* Retursn image width in pixels.

Inherited Members

From Image

channelCount
uint channelCount;
Undocumented in source.
bitDepth
uint bitDepth;
Undocumented in source.
bytesPerChannel
uint bytesPerChannel;
Undocumented in source.
pixelData
ubyte[] pixelData;
Undocumented in source.
getChannelCount
uint getChannelCount()

* Returns the number of channels that image has. * For example, if image has 4 channels it returns 3.

getBithDepth
uint getBithDepth()

*

getBitsPerChannel
uint getBitsPerChannel()

*

getPixelData
ubyte[] getPixelData()

*

Meta