Blender V5.3
openexr_api.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2005 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct ImFileColorSpace;
14
15extern const char *imb_file_extensions_openexr[];
16
17void imb_initopenexr();
18void imb_exitopenexr();
19
24bool imb_is_a_openexr(const unsigned char *mem, size_t size);
25
26bool imb_save_openexr(ImBuf *ibuf, const char *filepath, ImBufFlags flags);
28
29ImBuf *imb_load_openexr(const unsigned char *mem,
30 size_t size,
31 ImBufFlags flags,
32 ImFileColorSpace &r_colorspace);
33
34ImBuf *imb_load_filepath_thumbnail_openexr(const char *filepath,
35 ImBufFlags flags,
36 size_t max_thumb_size,
37 ImFileColorSpace &r_colorspace,
38 size_t *r_width,
39 size_t *r_height);
40
41} // namespace blender
BMesh Iterators.
Vector< uint8_t > imb_save_buffer_openexr(ImBuf *ibuf, ImBufFlags)
bool imb_save_openexr(ImBuf *ibuf, const char *filepath, ImBufFlags)
ImBuf * imb_load_openexr(const uchar *mem, size_t size, ImBufFlags flags, ImFileColorSpace &r_colorspace)
void imb_initopenexr()
const char * imb_file_extensions_openexr[]
bool imb_is_a_openexr(const uchar *mem, const size_t size)
ImBuf * imb_load_filepath_thumbnail_openexr(const char *filepath, const ImBufFlags, const size_t max_thumb_size, ImFileColorSpace &r_colorspace, size_t *r_width, size_t *r_height)
void imb_exitopenexr()