Functions | |
MRMESH_API Expected< Image > | MR::ImageLoad::fromPng (const std::filesystem::path &path) |
loads from .png format | |
MRMESH_API Expected< Image > | MR::ImageLoad::fromPng (std::istream &in) |
MRMESH_API Expected< Image > | MR::ImageLoad::fromJpeg (const std::filesystem::path &path) |
loads from .jpg format | |
MRMESH_API Expected< Image > | MR::ImageLoad::fromJpeg (std::istream &in) |
MRMESH_API Expected< Image > | MR::ImageLoad::fromJpeg (const char *data, size_t size) |
MRMESH_API Expected< Image > | MR::ImageLoad::fromAnySupportedFormat (const std::filesystem::path &path) |
detects the format from file extension and loads image from it | |
Variables | |
MRMESH_API const IOFilters | MR::ImageLoad::Filters |
MRMESH_API Expected< Image > MR::ImageLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | path | ) |
detects the format from file extension and loads image from it
MRMESH_API Expected< Image > MR::ImageLoad::fromJpeg | ( | const char * | data, |
size_t | size ) |
MRMESH_API Expected< Image > MR::ImageLoad::fromJpeg | ( | const std::filesystem::path & | path | ) |
loads from .jpg format
MRMESH_API Expected< Image > MR::ImageLoad::fromJpeg | ( | std::istream & | in | ) |
MRMESH_API Expected< Image > MR::ImageLoad::fromPng | ( | const std::filesystem::path & | path | ) |
loads from .png format
MRMESH_API Expected< Image > MR::ImageLoad::fromPng | ( | std::istream & | in | ) |
|
extern |