FreeRDP
image.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WINPR_BITMAP_FILE_HEADER
 
struct  WINPR_BITMAP_INFO_HEADER
 
struct  WINPR_BITMAP_CORE_HEADER
 
struct  wImage
 

Macros

#define WINPR_IMAGE_BITMAP   0
 
#define WINPR_IMAGE_PNG   1
 

Functions

WINPR_API int winpr_bitmap_write (const char *filename, BYTE *data, int width, int height, int bpp)
 
WINPR_API int winpr_image_write (wImage *image, const char *filename)
 
WINPR_API int winpr_image_read (wImage *image, const char *filename)
 
WINPR_API int winpr_image_read_buffer (wImage *image, BYTE *buffer, int size)
 
WINPR_API wImage * winpr_image_new ()
 
WINPR_API void winpr_image_free (wImage *image, BOOL bFreeBuffer)
 

Macro Definition Documentation

#define WINPR_IMAGE_BITMAP   0
#define WINPR_IMAGE_PNG   1

Function Documentation

WINPR_API int winpr_bitmap_write ( const char *  filename,
BYTE data,
int  width,
int  height,
int  bpp 
)

Refer to "Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP" book

Here is the call graph for this function:

Here is the caller graph for this function:

WINPR_API void winpr_image_free ( wImage *  image,
BOOL  bFreeBuffer 
)

Here is the caller graph for this function:

WINPR_API wImage* winpr_image_new ( )

Here is the caller graph for this function:

WINPR_API int winpr_image_read ( wImage *  image,
const char *  filename 
)

Here is the call graph for this function:

Here is the caller graph for this function:

WINPR_API int winpr_image_read_buffer ( wImage *  image,
BYTE buffer,
int  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

WINPR_API int winpr_image_write ( wImage *  image,
const char *  filename 
)

Here is the call graph for this function:

Here is the caller graph for this function: