MeshLib C Docs
Loading...
Searching...
No Matches
MRJpeg.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
11typedef struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string; // Defined in `#include <MRCMisc/expected_MR_Image_std_string.h>`.
12typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
13typedef struct MR_std_istream MR_std_istream; // Defined in `#include <MRCMisc/iostream.h>`.
14
15
21
26
30
36MRC_API MR_expected_void_std_string *MR_ImageSave_toJpeg(const MR_Image *image, const char *path, const char *path_end);
37
38#ifdef __cplusplus
39} // extern "C"
40#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_std_istream MR_std_istream
Definition MRCtm.h:21
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromJpeg_2(const char *data, MR_uint64_t size)
struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string
Definition MRJpeg.h:11
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromJpeg_1_std_istream(MR_std_istream *in)
MRC_API MR_expected_void_std_string * MR_ImageSave_toJpeg(const MR_Image *image, const char *path, const char *path_end)
struct MR_Image MR_Image
Definition MRJpeg.h:10
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromJpeg_1_std_filesystem_path(const char *path, const char *path_end)
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
size_t size() const