MeshLib
 
Loading...
Searching...
No Matches
MR::ImageLoad Namespace Reference

Functions

MRMESH_API Expected< ImagefromPng (const std::filesystem::path &path)
 loads from .png format
 
MRMESH_API Expected< ImagefromPng (std::istream &in)
 
MRMESH_API Expected< ImagefromJpeg (const std::filesystem::path &path)
 loads from .jpg format
 
MRMESH_API Expected< ImagefromJpeg (std::istream &in)
 
MRMESH_API Expected< ImagefromJpeg (const char *data, size_t size)
 
MRMESH_API Expected< ImagefromAnySupportedFormat (const std::filesystem::path &path)
 detects the format from file extension and loads image from it
 

Variables

MRMESH_API const IOFilters Filters