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.

Namespaces

namespace  Image
 

Based on the PCX specs: http://www.fileformat.info/format/pcx/spec/a10e75307b3a4cc49c3bbe6db4c41fa2/view.htm and the PCX decoder of FFmpeg (libavcodec/pcx.c): http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/pcx.c.


Defines

#define FORBIDDEN_SYMBOL_ALLOW_ALL

Functions

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

#define FORBIDDEN_SYMBOL_ALLOW_ALL

Definition at line 25 of file png.cpp.



Generated on Sat Feb 16 2019 05:02:34 for ResidualVM by doxygen 1.7.1
curved edge   curved edge