Main Page
Namespaces
Classes
Files
File List
File Members
include
imagezero
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
13
~PortableImage
();
14
15
public
:
16
int
components
()
const
17
{
return
m_components
; }
18
19
void
setComponents
(
int
components
)
20
{
m_components
=
components
; }
21
22
bool
readHeader
(
const
unsigned
char
*
data
);
23
24
unsigned
char
*
writeHeader
(
unsigned
char
* data);
25
26
private
:
27
int
m_components
;
28
int
m_maxVal
;
29
};
30
}
31
32
#endif
IZ::Image<>::data
unsigned char * data() const
Definition:
image.h:18
IZ::PortableImage::setComponents
void setComponents(int components)
Definition:
portableimage.h:19
IZ::PortableImage::m_maxVal
int m_maxVal
Definition:
portableimage.h:28
IZ::PortableImage::PortableImage
PortableImage()
Definition:
portableimage.cpp:119
IZ
Definition:
bitcoder.h:6
IZ::PortableImage
Definition:
portableimage.h:8
image.h
IZ::PortableImage::writeHeader
unsigned char * writeHeader(unsigned char *data)
Definition:
portableimage.cpp:57
IZ::PortableImage::readHeader
bool readHeader(const unsigned char *data)
Definition:
portableimage.cpp:84
IZ::Image
Definition:
image.h:12
IZ::PortableImage::components
int components() const
Definition:
portableimage.h:16
IZ::PortableImage::~PortableImage
~PortableImage()
Definition:
portableimage.cpp:124
IZ::PortableImage::m_components
int m_components
Definition:
portableimage.h:27
imagezero
Author(s):
autogenerated on Mon Jun 10 2019 13:37:22