FreeRDP
TestImage.c File Reference
#include <winpr/wtypes.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/file.h>
#include <winpr/print.h>
#include <winpr/image.h>
#include <winpr/environment.h>

Macros

#define PATH_MAX   4096
 

Functions

static void * read_image (const char *src, size_t *size)
 
static int img_compare (wImage *image, wImage *image2, BOOL ignoreType)
 
static wImage * get_image (const char *src)
 
static int create_test (const char *src, const char *dst_png, const char *dst_bmp)
 
static int test_image_png_to_bmp (void)
 
int TestImage (int argc, char *argv[])
 

Macro Definition Documentation

◆ PATH_MAX

#define PATH_MAX   4096

Function Documentation

◆ create_test()

static int create_test ( const char *  src,
const char *  dst_png,
const char *  dst_bmp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_image()

static wImage* get_image ( const char *  src)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ img_compare()

static int img_compare ( wImage *  image,
wImage *  image2,
BOOL  ignoreType 
)
static
Here is the caller graph for this function:

◆ read_image()

static void* read_image ( const char *  src,
size_t *  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_image_png_to_bmp()

static int test_image_png_to_bmp ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestImage()

int TestImage ( int  argc,
char *  argv[] 
)
Here is the call graph for this function: