MeshLib
 
Loading...
Searching...
No Matches
MRImageSave.h File Reference
#include "MRMeshFwd.h"
#include "MRIOFilters.h"
#include "MRExpected.h"
#include <filesystem>

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::ImageSave
 

Functions

MRMESH_API Expected< void > MR::ImageSave::toBmp (const Image &image, const std::filesystem::path &path)
 saves in .bmp format
 
MRMESH_API Expected< void > MR::ImageSave::toTiff (const Image &image, const std::filesystem::path &path)
 
MRMESH_API Expected< void > MR::ImageSave::toAnySupportedFormat (const Image &image, const std::filesystem::path &path)
 detects the format from file extension and save image to it