Typedefs | |
using | ImageSaver = Expected<void>( * )( const Image&, const std::filesystem::path& ) |
Functions | |
MRIOEXTRAS_API Expected< void > | toJpeg (const Image &image, const std::filesystem::path &path) |
saves in .jpg format | |
MRIOEXTRAS_API Expected< void > | toPng (const Image &image, const std::filesystem::path &path) |
saves in .png format | |
MRIOEXTRAS_API Expected< void > | toPng (const Image &image, std::ostream &os) |
MRMESH_API Expected< void > | toBmp (const Image &image, const std::filesystem::path &path) |
saves in .bmp format | |
MRMESH_API Expected< void > | toTiff (const Image &image, const std::filesystem::path &path) |
MRMESH_API Expected< void > | toAnySupportedFormat (const Image &image, const std::filesystem::path &path) |
detects the format from file extension and save image to it | |
using MR::ImageSave::ImageSaver = Expected<void>( * )( const Image&, const std::filesystem::path& ) |
MRIOEXTRAS_API Expected< void > MR::ImageSave::toJpeg | ( | const Image & | image, |
const std::filesystem::path & | path ) |
saves in .jpg format
MRIOEXTRAS_API Expected< void > MR::ImageSave::toPng | ( | const Image & | image, |
const std::filesystem::path & | path ) |
saves in .png format