Tachyon (current)  Current Main Branch
Functions
jpeg.h File Reference

Go to the source code of this file.

Functions

int readjpeg (const char *name, int *xres, int *yres, unsigned char **imgdata)
 
int writejpeg (const char *name, int xres, int yres, unsigned char *imgdata)
 

Function Documentation

◆ readjpeg()

int readjpeg ( const char *  name,
int *  xres,
int *  yres,
unsigned char **  imgdata 
)

Definition at line 29 of file jpeg.c.

References IMAGEUNSUP.

Referenced by readimage().

◆ writejpeg()

int writejpeg ( const char *  name,
int  xres,
int  yres,
unsigned char *  imgdata 
)

Definition at line 33 of file jpeg.c.

References IMAGEUNSUP.

Referenced by writeimage().