Functions | |
MRMESH_API VoidOrErrStr | toBmp (const Image &image, const std::filesystem::path &path) |
saves in .bmp format | |
MRMESH_API VoidOrErrStr | toPng (const Image &image, const std::filesystem::path &path) |
saves in .png format | |
MRMESH_API VoidOrErrStr | toPng (const Image &image, std::ostream &os) |
saves in .png format | |
MRMESH_API VoidOrErrStr | toJpeg (const Image &image, const std::filesystem::path &path) |
saves in .jpg format | |
MRMESH_API VoidOrErrStr | toTiff (const Image &image, const std::filesystem::path &path) |
MRMESH_API VoidOrErrStr | toAnySupportedFormat (const Image &image, const std::filesystem::path &path) |
detects the format from file extension and save image to it | |
Variables | |
MRMESH_API const IOFilters | Filters |