24#ifndef _FIREVISION_UTILS_READERS_PNG_H_
25#define _FIREVISION_UTILS_READERS_PNG_H_
27#include <fvutils/readers/reader.h>
39 virtual void set_buffer(
unsigned char *yuv422planar_buffer);
46 PNGReaderData *setup_read(
const char *filename);
50 unsigned char *buffer;
virtual void set_buffer(unsigned char *yuv422planar_buffer)
Set buffer that the read image should be written to.
virtual unsigned int pixel_height()
Get height of read image in pixels.
virtual ~PNGReader()
Destructor.
PNGReader(const char *filename)
Constructor.
virtual colorspace_t colorspace()
Get colorspace from the just read image.
virtual void read()
Read data from file.
virtual unsigned int pixel_width()
Get width of read image in pixels.