MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.rastersave.Functions Class Reference

Static Public Member Functions

static void toAnySupportedFormat (meshlib.Raster raster, java.lang.String path, meshlib.RasterSaveSettings settings)
static void toTiff (meshlib.Raster raster, java.lang.String path, meshlib.TiffSaveSettings settings)
static void toTiff (meshlib.Raster raster, java.lang.String path, meshlib.RasterSaveSettings settings)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ toAnySupportedFormat()

void meshlib.rastersave.Functions.toAnySupportedFormat ( meshlib.Raster raster,
java.lang.String path,
meshlib.RasterSaveSettings settings )
static

detects the format from file extension and saves the raster in it Generated from function MR::RasterSave::toAnySupportedFormat.

Calls MR_RasterSave_toAnySupportedFormat(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toTiff() [1/2]

void meshlib.rastersave.Functions.toTiff ( meshlib.Raster raster,
java.lang.String path,
meshlib.RasterSaveSettings settings )
static

Generated from function MR::RasterSave::toTiff.

Calls MR_RasterSave_toTiff_MR_RasterSaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toTiff() [2/2]

void meshlib.rastersave.Functions.toTiff ( meshlib.Raster raster,
java.lang.String path,
meshlib.TiffSaveSettings settings )
static

saves a raster with one layer in .tiff format: one channel of gray values, or three or four channels of RGB or RGBA colors (unassociated alpha: the colors are not multiplied by it), of any type from UInt8 to Float64 Generated from function MR::RasterSave::toTiff.

Calls MR_RasterSave_toTiff_MR_TiffSaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


The documentation for this class was generated from the following file: