#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:23
MRMESH_API VoidOrErrStr toJpeg(const Image &image, const std::filesystem::path &path)
saves in .jpg format
MRMESH_API VoidOrErrStr toBmp(const Image &image, const std::filesystem::path &path)
saves in .bmp format
MRMESH_API VoidOrErrStr toTiff(const Image &image, const std::filesystem::path &path)
MRMESH_API const IOFilters Filters
MRMESH_API VoidOrErrStr toAnySupportedFormat(const Image &image, const std::filesystem::path &path)
detects the format from file extension and save image to it
MRMESH_API VoidOrErrStr toPng(const Image &image, const std::filesystem::path &path)
saves in .png format
MRVIEWER_API void Image(const MR::ImGuiImage &image, const ImVec2 &size, const MR::Color &multColor)
draw image with Y-direction inversed up-down
Definition MRCameraOrientationPlugin.h:7
Expected< void > VoidOrErrStr
return type for a void function that can produce an error string
Definition MRExpected.h:60