Porytiles
Loading...
Searching...
No Matches
png_indexed_image_loader.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <filesystem>
5#include <memory>
6
10
11namespace porytiles {
12
20 public:
22
24 load_from_file(const std::filesystem::path &path) const;
25};
26
27} // namespace porytiles
A result type that maintains a chainable sequence of errors for debugging and error reporting.
An image loader that reads PNG files to create an Image with an index pixel type.
ChainableResult< std::unique_ptr< Image< IndexPixel > > > load_from_file(const std::filesystem::path &path) const