#include <stdio.h>
#include "jpeglib.h"
#include <setjmp.h>
Go to the source code of this file.
|
int | JPEG_compress (JSAMPLE *image_buffer, long width, long height, unsigned char *jpeg_image_buffer, long size, int quality) |
|
int | JPEG_decompress (JOCTET *jpeg_image, long jpeg_size, JOCTET *result_image, long *width, long *height) |
|
int | JPEG_header (JOCTET *jpeg_image, long jpeg_size, long *width, long *height, long *components) |
|
static void | my_error_exit (j_common_ptr cinfo) |
|
int JPEG_compress |
( |
JSAMPLE * |
image_buffer, |
|
|
long |
width, |
|
|
long |
height, |
|
|
unsigned char * |
jpeg_image_buffer, |
|
|
long |
size, |
|
|
int |
quality |
|
) |
| |
int JPEG_decompress |
( |
JOCTET * |
jpeg_image, |
|
|
long |
jpeg_size, |
|
|
JOCTET * |
result_image, |
|
|
long * |
width, |
|
|
long * |
height |
|
) |
| |
int JPEG_header |
( |
JOCTET * |
jpeg_image, |
|
|
long |
jpeg_size, |
|
|
long * |
width, |
|
|
long * |
height, |
|
|
long * |
components |
|
) |
| |
static void my_error_exit |
( |
j_common_ptr |
cinfo | ) |
|
|
static |