jpeg.h File Reference

This file represents the interface with libjpeg library and was based on libjpeg example program. More...

Go to the source code of this file.

Functions

void write_JPEG_file (unsigned char *image, int image_width, int image_height, char *filename, int quality)
 Writes a jpeg file.
unsigned char * read_JPEG_file (char *filename, int image_width, int image_height)
 Reads a jpeg file.


Detailed Description

This file represents the interface with libjpeg library and was based on libjpeg example program.


Function Documentation

unsigned char* read_JPEG_file ( char *  filename,
int  image_width,
int  image_height 
)

Reads a jpeg file.

Parameters:
filename 
Returns:
image

void write_JPEG_file ( unsigned char *  image,
int  image_width,
int  image_height,
char *  filename,
int  quality 
)

Writes a jpeg file.

Parameters:
image 
filename 
quality 


Generated on Tue Jan 22 17:07:30 2008 for MUAN by  doxygen 1.4.7