MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ImageLoad Namespace Reference

namespace PointsSave More...

Typedefs

using ImageLoader = Expected<Image>( * )( const std::filesystem::path& )
 

Functions

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

Detailed Description

namespace PointsSave

Typedef Documentation

◆ ImageLoader

using MR::ImageLoad::ImageLoader = Expected<Image>( * )( const std::filesystem::path& )