#include "PixelFormat.hh"
#include "SDLSurfacePtr.hh"
#include <string>
Go to the source code of this file.
|
| openmsx |
| This file implemented 3 utility functions:
|
|
| openmsx::PNG |
| Utility functions to hide the complexity of saving to a PNG file.
|
|
|
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 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) |
|