Typedefs | |
| using | ImageLoader = Expected<Image>( * )( const std::filesystem::path& ) |
Functions | |
| MRIOEXTRAS_API Expected< Image > | fromJpeg (const std::filesystem::path &path) |
| loads from .jpg format | |
| MRIOEXTRAS_API Expected< Image > | fromJpeg (std::istream &in) |
| MRIOEXTRAS_API Expected< Image > | fromJpeg (const char *data, size_t size) |
| MRIOEXTRAS_API Expected< Image > | fromPng (const std::filesystem::path &path) |
| loads from .png format | |
| MRIOEXTRAS_API Expected< Image > | fromPng (std::istream &in) |
| MRIOEXTRAS_API Expected< Image > | fromTiff (const std::filesystem::path &path) |
| loads from .tiff format | |
| MRMESH_API Expected< Image > | fromAnySupportedFormat (const std::filesystem::path &path) |
| detects the format from file extension and loads image from it | |
| using MR::ImageLoad::ImageLoader = Expected<Image>( * )( const std::filesystem::path& ) |
loads from .jpg format
loads from .png format