40#ifndef OGF_IMAGE_IO_IMAGE_SERIALIZER_XPM
41#define OGF_IMAGE_IO_IMAGE_SERIALIZER_XPM
65 static Image* serialize_read_static(std::istream& stream);
67 static Image* read_xpm_1_byte_per_pixel(
68 int width,
int height,
int num_colors,
72 static Image* read_xpm_2_bytes_per_pixel(
73 int width,
int height,
int num_colors,
77 static char* next_xpm_data(std::istream& input);
Common include file, providing basic definitions. Should be included before anything else by all head...
Image * serialize_read(std::istream &stream) override
reads an image from a stream.
static Image * create_image_from_xpm_data(const char *s)
Creates an image from XPM data.
bool binary() const override
Tests whether the file format is binary or ASCII.
bool read_supported() const override
Tests whether reading is implemented.
Class to draw triangles in an image.
Global Vorpaline namespace.