#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
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
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:8
tl::expected< T, E > Expected
Definition MRExpected.h:58