33 #include "../Image/pixel_buffer.h"
34 #include "../../Core/IOData/file_system.h"
55 const std::string &filename,
60 const std::string &fullname,
73 const std::string &filename,
78 const std::string &fullname);
static PixelBuffer load(IODevice &dev, bool srgb=false)
Load.
static void save(PixelBuffer buffer, const std::string &fullname)
I/O Device interface.
Definition: iodevice.h:51
Surface provider that can load PNG (.png) files.
Definition: png_provider.h:45
static PixelBuffer load(const std::string &fullname, bool srgb=false)
Virtual File System (VFS).
Definition: file_system.h:48
Pixel data container.
Definition: pixel_buffer.h:69
static void save(PixelBuffer buffer, const std::string &filename, FileSystem &fs)
Called to save a given PixelBuffer to a file.
static PixelBuffer load(const std::string &filename, const FileSystem &fs, bool srgb=false)
Called to load an image with this provider type.
static void save(PixelBuffer buffer, IODevice &iodev)
Save the given PixelBuffer to an output device.