32#ifndef eman__jpegio_h__
33#define eman__jpegio_h__ 1
46 class JpegIO :
public ImageIO
49 explicit JpegIO(
const string & fname, IOMode rw_mode = WRITE_ONLY);
53 static bool is_valid(
const void *first_block);
61 struct jpeg_compress_struct cinfo;
62 struct jpeg_error_mgr jerr;
#define DEFINE_IMAGEIO_FUNC
DEFINE_IMAGEIO_FUNC declares the functions that needs to be implemented by any subclass of ImageIO.