|
Porytiles
|
An image loader that reads PNG files to create an Image with an index pixel type. More...
#include <png_indexed_image_loader.hpp>
Public Member Functions | |
| PngIndexedImageLoader ()=default | |
| Result< std::unique_ptr< Image< IndexPixel > > > | load_from_file (const std::filesystem::path &path) const |
An image loader that reads PNG files to create an Image with an index pixel type.
This loader's implementation uses png++ wrapper for libpng to read PNG data and load it into an Image.
Definition at line 19 of file png_indexed_image_loader.hpp.
|
default |
| Result< std::unique_ptr< Image< IndexPixel > > > porytiles2::PngIndexedImageLoader::load_from_file | ( | const std::filesystem::path & | path | ) | const |
Definition at line 14 of file png_indexed_image_loader.cpp.