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

Static Public Member Functions

static void toBmp (meshlib.Image image, java.lang.String path)
static void toAnySupportedFormat (meshlib.Image image, java.lang.String path)
static void toJpeg (meshlib.Image image, java.lang.String path)
static void toPng (meshlib.Image image, java.lang.String path)
static void toPng (meshlib.Image image, meshlib.std_ostream os)
static void toTiff (meshlib.Image image, java.lang.String path)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ toAnySupportedFormat()

void meshlib.imagesave.Functions.toAnySupportedFormat ( meshlib.Image image,
java.lang.String path )
static

detects the format from file extension and save image to it Generated from function MR::ImageSave::toAnySupportedFormat.

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

◆ toBmp()

void meshlib.imagesave.Functions.toBmp ( meshlib.Image image,
java.lang.String path )
static

saves in .bmp format Generated from function MR::ImageSave::toBmp.

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

◆ toJpeg()

void meshlib.imagesave.Functions.toJpeg ( meshlib.Image image,
java.lang.String path )
static

saves in .jpg format Generated from function MR::ImageSave::toJpeg.

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

◆ toPng() [1/2]

void meshlib.imagesave.Functions.toPng ( meshlib.Image image,
java.lang.String path )
static

saves in .png format Generated from function MR::ImageSave::toPng.

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

◆ toPng() [2/2]

void meshlib.imagesave.Functions.toPng ( meshlib.Image image,
meshlib.std_ostream os )
static

Generated from function MR::ImageSave::toPng.

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

◆ toTiff()

void meshlib.imagesave.Functions.toTiff ( meshlib.Image image,
java.lang.String path )
static

saves in .tiff format with unassociated alpha, as in Image: the colors are not multiplied by it Generated from function MR::ImageSave::toTiff.

Calls MR_ImageSave_toTiff(). 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: