API Documentation
BmpEncoder.h
1 // BmpEncoder.h
3 //
5 
6 namespace nkImages
7 {
11  class BmpEncoder final
12  {
13  public :
14 
15  // Encoding
24  static nkMemory::Buffer encode (const ImageView& image) ;
25 
26  // Decoding
59  } ;
60 }
nkImages::BmpEncoder
Offers capabilities to encode and decode BMP format.
Definition: BmpEncoder.h:12
nkMemory::BufferView< unsigned char >
nkImages::ImageView
Holds all information required for an image, with no ownership over the data.
Definition: ImageView.h:14
nkImages::BmpEncoder::encode
static nkMemory::Buffer encode(const ImageView &image)
nkMemory::Buffer
A buffer holding binary data.
Definition: Buffer.h:32
nkImages::BmpEncoder::canDecode
static bool canDecode(nkMemory::BufferView< unsigned char > data)
nkImages::AlignmentDescriptor
Holds information about alignment constraints.
Definition: AlignmentDescriptor.h:12
nkImages
Encompasses all API of component NilkinsImages.
Definition: BmpEncoder.h:7
nkImages::BmpEncoder::decode
static Image decode(nkMemory::BufferView< unsigned char > data, const AlignmentDescriptor &alignmentDescriptor=AlignmentDescriptor())
nkImages::Image
Holds all information required for an image, with ownership over the data.
Definition: Image.h:14