ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

png.cpp File Reference

#include "common/scummsys.h"
#include <png.h>
#include "graphics/pixelformat.h"
#include "graphics/surface.h"
#include "common/array.h"
#include "common/stream.h"
Include dependency graph for png.cpp:

Go to the source code of this file.


namespace  Image

Based on the PCX specs: and the PCX decoder of FFmpeg (libavcodec/pcx.c):;a=blob;f=libavcodec/pcx.c.




void Image::pngError (png_structp pngptr, png_const_charp errorMsg)
void Image::pngWarning (png_structp pngptr, png_const_charp warningMsg)
void Image::pngReadFromStream (png_structp pngPtr, png_bytep data, png_size_t length)
void Image::pngWriteToStream (png_structp pngPtr, png_bytep data, png_size_t length)
void Image::pngFlushStream (png_structp pngPtr)
bool Image::writePNG (Common::WriteStream &out, const Graphics::Surface &input, const bool bottomUp=false)
 Outputs a compressed PNG stream of the given input surface.

Define Documentation


Definition at line 25 of file png.cpp.

Generated on Sat Sep 19 2020 05:03:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge