Static Public Member Functions | |
| static meshlib.Image | fromAnySupportedFormat (java.lang.String path) |
| static meshlib.Image | fromJpeg (java.lang.String path, java.lang.Boolean ignoreDecompressErrors) |
| static meshlib.Image | fromJpeg (meshlib.std_istream in, java.lang.Boolean ignoreDecompressErrors) |
| static meshlib.Image | fromJpeg (java.lang.Byte data, long size, java.lang.Boolean ignoreDecompressErrors) |
| static meshlib.Image | fromPng (java.lang.String path) |
| static meshlib.Image | fromPng (meshlib.std_istream in) |
| static meshlib.Image | fromTiff (java.lang.String path) |
The free functions of this namespace.
|
static |
detects the format from file extension and loads image from it Generated from function MR::ImageLoad::fromAnySupportedFormat.
Calls MR_ImageLoad_fromAnySupportedFormat(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::ImageLoad::fromJpeg.
Calls MR_ImageLoad_fromJpeg_3(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads from .jpg format
| ignoreDecompressErrors | if true do not return decompression error if the header was read sucessfully Generated from function MR::ImageLoad::fromJpeg. |
Calls MR_ImageLoad_fromJpeg_2_std_filesystem_path(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::ImageLoad::fromJpeg.
Calls MR_ImageLoad_fromJpeg_2_std_istream(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads from .png format Generated from function MR::ImageLoad::fromPng.
Calls MR_ImageLoad_fromPng_std_filesystem_path(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::ImageLoad::fromPng.
Calls MR_ImageLoad_fromPng_std_istream(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads the first image of a .tiff file: libtiff decodes the formats it supports, the others are loaded by RasterLoad::fromTiff and converted by convertRasterToImage; the colors are not multiplied by alpha unless the file stores them so (associated alpha) Generated from function MR::ImageLoad::fromTiff.
Calls MR_ImageLoad_fromTiff(). The C++ function returns expected<MR::Image, std::string>: the value is returned and an error is thrown as UnexpectedResultException.