MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRasterSave.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRExpected.h"
5#include "MRRaster.h"
6
7#include <filesystem>
8
9namespace MR
10{
11
12namespace RasterSave
13{
14
18
20MRMESH_API Expected<void> toAnySupportedFormat( const Raster& raster, const std::filesystem::path& path, const RasterSaveSettings& settings = {} );
21
23
24}
25
26}
#define MRMESH_API
Definition MRMeshFwd.h:85
tl::expected< T, E > Expected
Definition MRExpected.h:31
Expected< void > toAnySupportedFormat(const Raster &raster, const std::filesystem::path &path, const RasterSaveSettings &settings={})
detects the format from file extension and saves the raster in it
Definition MRTiff.h:55
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
settings for saving rasters in external formats
Definition MRRaster.h:74
regular grid of values of any type: an image if it has one layer, otherwise a volume
Definition MRRaster.h:38