24 #ifndef _FIREVISION_FVUTILS_WRITERS_FVRAW_H_ 25 #define _FIREVISION_FVUTILS_WRITERS_FVRAW_H_ 27 #include <fvutils/writers/writer.h> 29 namespace firevision {
39 colorspace_t colorspace,
40 unsigned char *buffer);
61 unsigned char *buffer;
virtual void set_buffer(colorspace_t cspace, unsigned char *buffer)
Set image buffer.
colorspace_t cspace
The colorspace of the image.
Interface to write images.
static const unsigned int FILE_IDENTIFIER
File identifier for FvRaw images.
FvRaw Writer implementation.
virtual void set_dimensions(unsigned int width, unsigned int height)
Set dimensions of image in pixels.
virtual void write()
Write to file.
virtual ~FvRawWriter()
Destructor.
virtual unsigned char * get_write_buffer()
Get write buffer.
unsigned int width
The width of the image.
unsigned int height
The height of the image.
FvRawWriter()
Constructor.
char * filename
The complete filename.