Blender  V3.3
Functions
openimageio_api.h File Reference
#include <stdio.h>

Go to the source code of this file.

Functions

bool imb_is_a_photoshop (const unsigned char *mem, size_t size)
 
int imb_save_photoshop (struct ImBuf *ibuf, const char *name, int flags)
 
struct ImBufimb_load_photoshop (const char *name, int flags, char *colorspace)
 
int OIIO_getVersionHex (void)
 

Function Documentation

◆ imb_is_a_photoshop()

bool imb_is_a_photoshop ( const unsigned char *  mem,
size_t  size 
)

Definition at line 150 of file openimageio_api.cpp.

References magic(), and size().

◆ imb_load_photoshop()

struct ImBuf* imb_load_photoshop ( const char *  name,
int  flags,
char *  colorspace 
)

◆ imb_save_photoshop()

int imb_save_photoshop ( struct ImBuf ibuf,
const char *  name,
int  flags 
)

Definition at line 159 of file openimageio_api.cpp.

References ImBuf::encodedsize, IB_mem, and imb_addencodedbufferImBuf().

◆ OIIO_getVersionHex()

int OIIO_getVersionHex ( void  )

Definition at line 269 of file openimageio_api.cpp.

Referenced by make_oiio_info().