MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTiff.h File Reference
#include "config.h"
#include "exports.h"
#include <MRMesh/MRDistanceMap.h>
#include <MRMesh/MRExpected.h>
#include <MRMesh/MRMeshFwd.h>
#include <MRMesh/MRRaster.h>
#include <filesystem>
#include <optional>

Go to the source code of this file.

Classes

struct  MR::RasterLoad::TiffLoadSettings
 TIFF-specific raster load parameters. More...
struct  MR::TiffSaveSettings
 settings for saving rasters in .tiff format More...

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
namespace  MR::RasterLoad
namespace  MR::RasterSave
namespace  MR::ImageLoad
namespace  MR::ImageSave
namespace  MR::DistanceMapLoad
namespace  MR::DistanceMapSave

Functions

Expected< Raster > MR::RasterLoad::fromTiff (const std::filesystem::path &path, const RasterLoadSettings &settings={}, const TiffLoadSettings &tiffSettings={})
Expected< RasterInfo > MR::RasterLoad::infoFromTiff (const std::filesystem::path &path)
 loads everything about the raster except its values from .tiff format
Expected< void > MR::RasterSave::toTiff (const Raster &raster, const std::filesystem::path &path, const TiffSaveSettings &settings)
Expected< void > MR::RasterSave::toTiff (const Raster &raster, const std::filesystem::path &path, const RasterSaveSettings &settings={})
Expected< Image > MR::ImageLoad::fromTiff (const std::filesystem::path &path)
Expected< void > MR::ImageSave::toTiff (const Image &image, const std::filesystem::path &path)
 saves in .tiff format with unassociated alpha, as in Image: the colors are not multiplied by it
Expected< DistanceMap > MR::DistanceMapLoad::fromTiff (const std::filesystem::path &path, const DistanceMapLoadSettings &settings={})
Expected< DistanceMap > MR::DistanceMapLoad::fromTiff (const std::filesystem::path &path, DistanceMapToWorld &params, ProgressCallback progressCb={})
Expected< void > MR::DistanceMapSave::toTiff (const DistanceMap &dmap, const std::filesystem::path &path, const DistanceMapSaveSettings &settings={})
 saves in .tiff format