#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
Go to the source code of this file.
◆ MR_expected_MR_Image_std_string
Stores either a MR::Image that represents success or a std::string that represents an error. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
◆ MR_Image
struct to hold Image data Generated from class MR::Image. Derived classes: Direct: (non-virtual) MR::MeshTexture Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
◆ MR_ImageLoad_fromJpeg_2_std_filesystem_path()
loads from .jpg format
- Parameters
-
| ignoreDecompressErrors | if true do not return decompression error if the header was read sucessfully Generated from function MR::ImageLoad::fromJpeg. Parameter path is a UTF-8 encoded filesystem path. Parameter ignoreDecompressErrors has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Image_std_string_Destroy() to free it when you're done using it. |
◆ MR_ImageLoad_fromJpeg_2_std_istream()
Generated from function MR::ImageLoad::fromJpeg. Parameter in can not be null. It is a single object. Parameter ignoreDecompressErrors has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Image_std_string_Destroy() to free it when you're done using it.
◆ MR_ImageLoad_fromJpeg_3()
Generated from function MR::ImageLoad::fromJpeg. Parameter ignoreDecompressErrors has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Image_std_string_Destroy() to free it when you're done using it.
◆ MR_ImageSave_toJpeg()
saves in .jpg format Generated from function MR::ImageSave::toJpeg. Parameter image can not be null. It is a single object. Parameter path is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.