gallery/include/jpeg.h

17 lines
406 B
C

#ifndef _JPEG_H
#define _JPEG_H
#include <photo.h>
/* The following file defines a JPEG dimension reader. This is because the
* MagickWand library will try to drag in the entire image and decode it,
* leading to significant overhead when we only want the dimensions of the
* image.
*
* The following uses IDG's jpeglib
*/
void read_jpeg_dims( const char* file, struct dimensions* dims );
#endif