MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.RasterSave Class Reference

Static Public Member Functions

None toAnySupportedFormat (ConstRaster raster, os.PathLike|str|bytes path, ConstRasterSaveSettings settings=...)
None toTiff (ConstRaster raster, os.PathLike|str|bytes path, ConstTiffSaveSettings settings)
None toTiff (ConstRaster raster, os.PathLike|str|bytes path, ConstRasterSaveSettings settings=...)

Detailed Description

This is a namespace.

Member Function Documentation

◆ toAnySupportedFormat()

None mrmeshpy.RasterSave.toAnySupportedFormat ( ConstRaster raster,
os.PathLike | str | bytes path,
ConstRasterSaveSettings settings = ... )
static
detects the format from file extension and saves the raster in it

◆ toTiff() [1/2]

None mrmeshpy.RasterSave.toTiff ( ConstRaster raster,
os.PathLike | str | bytes path,
ConstRasterSaveSettings settings = ... )
static

◆ toTiff() [2/2]

None mrmeshpy.RasterSave.toTiff ( ConstRaster raster,
os.PathLike | str | bytes path,
ConstTiffSaveSettings 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

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