mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
rename
This commit is contained in:
parent
67f34ceb8c
commit
051f0b8c6a
35 changed files with 61 additions and 62 deletions
19
src/coders/imageio.hpp
Normal file
19
src/coders/imageio.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef CODERS_IMAGEIO_HPP_
|
||||
#define CODERS_IMAGEIO_HPP_
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
class ImageData;
|
||||
|
||||
namespace imageio {
|
||||
inline const std::string PNG = ".png";
|
||||
|
||||
bool is_read_supported(const std::string& extension);
|
||||
bool is_write_supported(const std::string& extension);
|
||||
|
||||
std::unique_ptr<ImageData> read(const std::string& filename);
|
||||
void write(const std::string& filename, const ImageData* image);
|
||||
}
|
||||
|
||||
#endif // CODERS_IMAGEIO_HPP_
|
||||
Loading…
Add table
Add a link
Reference in a new issue