openMSX
Namespaces | Functions
PNG.hh File Reference
#include "SDLSurfacePtr.hh"
#include <string>
Include dependency graph for PNG.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 openmsx::PNG
 Utility functions to hide the complexity of saving to a PNG file.
 

Functions

SDLSurfacePtr openmsx::PNG::load (const std::string &filename, bool want32bpp)
 Load the given PNG file in a SDL_Surface. More...
 
void openmsx::PNG::save (unsigned width, unsigned height, const void **rowPointers, const SDL_PixelFormat &format, const std::string &filename)
 
void openmsx::PNG::save (unsigned width, unsigned height, const void **rowPointers, const std::string &filename)
 
void openmsx::PNG::saveGrayscale (unsigned width, unsigned height, const void **rowPointers, const std::string &filename)