MeshLib C Docs
Loading...
Searching...
No Matches
MRPng.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef struct MR_Image MR_Image; // Defined in `#include <MRCMesh/MRImage.h>`.
10typedef struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string; // Defined in `#include <MRCMisc/expected_MR_Image_std_string.h>`.
11typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
12typedef struct MR_std_istream MR_std_istream; // Defined in `#include <MRCMisc/iostream.h>`.
13typedef struct MR_std_ostream MR_std_ostream; // Defined in `#include <MRCMisc/iostream.h>`.
14
15
21
26
32MRC_API MR_expected_void_std_string *MR_ImageSave_toPng_std_filesystem_path(const MR_Image *image, const char *path, const char *path_end);
33
39
40#ifdef __cplusplus
41} // extern "C"
42#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_std_ostream MR_std_ostream
Definition MRCtm.h:22
struct MR_std_istream MR_std_istream
Definition MRCtm.h:21
struct MR_expected_MR_Image_std_string MR_expected_MR_Image_std_string
Definition MRJpeg.h:11
struct MR_Image MR_Image
Definition MRJpeg.h:10
MRC_API MR_expected_void_std_string * MR_ImageSave_toPng_std_ostream(const MR_Image *image, MR_std_ostream *os)
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromPng_std_istream(MR_std_istream *in)
MRC_API MR_expected_MR_Image_std_string * MR_ImageLoad_fromPng_std_filesystem_path(const char *path, const char *path_end)
MRC_API MR_expected_void_std_string * MR_ImageSave_toPng_std_filesystem_path(const MR_Image *image, const char *path, const char *path_end)
#define MRC_API
Definition exports.h:11