24#include <core/exception.h>
25#include <core/exceptions/system.h>
26#include <fvutils/writers/writer.h>
104 free(this->filename);
151 free(this->extension);
Base class for exceptions in Fawkes.
System ran out of memory and desired operation could not be fulfilled.
unsigned int width
The width of the image.
virtual void set_extension(const char *extension)
Set the filename extension for file written by this writer.
char * basename
The basename of the file.
virtual void set_dimensions(unsigned int width, unsigned int height)
Set dimensions of image in pixels.
colorspace_t cspace
The colorspace of the image.
virtual void set_filename(const char *filename)
Set filename.
char * extension
The extension of the file.
unsigned char * buffer
The image-buffer.
virtual void set_buffer(colorspace_t cspace, unsigned char *buffer)
Set image buffer.
unsigned int height
The height of the image.
char * filename
The complete filename.
virtual ~Writer()
Virtual empty destructor.
Writer(const char *extension=0)
Constructor.