MeshLib C++ Docs
Loading...
Searching...
No Matches
Image Save

Functions

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

Detailed Description

Function Documentation

◆ toAnySupportedFormat()

Expected< void > MR::ImageSave::toAnySupportedFormat ( const Image & image,
const std::filesystem::path & path )

#include <MRMesh/MRImageSave.h>

detects the format from file extension and save image to it

◆ toBmp()

Expected< void > MR::ImageSave::toBmp ( const Image & image,
const std::filesystem::path & path )

#include <MRMesh/MRImageSave.h>

saves in .bmp format