23 #include <libopenraw/prefix.h>
24 #include <libopenraw/rawdata.h>
45 virtual void *allocData(
const size_t s);
51 uint32_t
width()
const;
57 void setBpc(uint32_t _bpc);
Represent some bitmap data.
void setDataType(DataType _type)
Set the data type.
uint32_t width() const
Width of the image data.
uint32_t height() const
Height of the image data.
void swap(BitmapData &with)
Swap the two objects data.
void setBpc(uint32_t _bpc)
Set bit per channel.
size_t size() const
Get the size of the data.
virtual void setDimensions(uint32_t x, uint32_t y)
Set the pixel dimensions of the bitmap.
DataType dataType() const
Get the data type.
uint32_t bpc() const
Bit per channel.
void adjustSize(size_t size)
Global namespace for libopenraw.