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