iup-stack/iup/include/iupim.h

37 lines
724 B
C
Raw Normal View History

2023-02-20 16:44:45 +00:00
/** \file
* \brief Utilities using IM
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUPIM_H
#define __IUPIM_H
#if defined(__cplusplus)
extern "C" {
#endif
void IupImOpen(void); /* optional */
Ihandle* IupLoadImage(const char* filename);
int IupSaveImage(Ihandle* ih, const char* filename, const char* format);
Ihandle* IupLoadAnimation(const char* filename);
Ihandle* IupLoadAnimationFrames(const char** filename_list, int file_count);
#ifdef __IM_IMAGE_H
imImage* IupGetNativeHandleImage(void* handle);
void* IupGetImageNativeHandle(const imImage* image);
Ihandle* IupImageFromImImage(const imImage* image);
imImage* IupImageToImImage(Ihandle* iup_image);
#endif
#if defined(__cplusplus)
}
#endif
#endif