portableimage.h
Go to the documentation of this file.
1 #ifndef IZ_PORTABLE_IMAGE_H
2 #define IZ_PORTABLE_IMAGE_H 1
3 
4 #include "image.h"
5 
6 namespace IZ
7 {
8  class PortableImage : public IZ::Image<>
9  {
10  public:
11  PortableImage();
12 
14 
15  public:
16  int components() const
17  { return m_components; }
18 
21 
22  bool readHeader(const unsigned char* data);
23 
24  unsigned char* writeHeader(unsigned char* data);
25 
26  private:
28  int m_maxVal;
29  };
30 }
31 
32 #endif
unsigned char * data() const
Definition: image.h:18
void setComponents(int components)
Definition: portableimage.h:19
Definition: bitcoder.h:6
unsigned char * writeHeader(unsigned char *data)
bool readHeader(const unsigned char *data)
int components() const
Definition: portableimage.h:16


imagezero
Author(s):
autogenerated on Mon Jun 10 2019 13:37:22