MeshLib C++ Docs
Loading...
Searching...
No Matches
Raster Load

Functions

Expected< Raster > MR::RasterLoad::fromAnySupportedFormat (const std::filesystem::path &path, const RasterLoadSettings &settings={})
 detects the format from file extension and loads a raster from it
Expected< RasterInfo > MR::RasterLoad::infoFromAnySupportedFormat (const std::filesystem::path &path)
 detects the format from file extension and loads everything about the raster except its samples

Detailed Description

Function Documentation

◆ fromAnySupportedFormat()

Expected< Raster > MR::RasterLoad::fromAnySupportedFormat ( const std::filesystem::path & path,
const RasterLoadSettings & settings = {} )

#include <MRMesh/MRRasterLoad.h>

detects the format from file extension and loads a raster from it

◆ infoFromAnySupportedFormat()

Expected< RasterInfo > MR::RasterLoad::infoFromAnySupportedFormat ( const std::filesystem::path & path)

#include <MRMesh/MRRasterLoad.h>

detects the format from file extension and loads everything about the raster except its samples