#include "PNG.hh"
#include "MSXException.hh"
#include "File.hh"
#include "build-info.hh"
#include "Version.hh"
#include "one_of.hh"
#include "vla.hh"
#include "cstdiop.hh"
#include <cassert>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <tuple>
#include <png.h>
#include <SDL.h>
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) |
|