32#ifndef eman__pngio_h__
33#define eman__pngio_h__ 1
46 class PngIO :
public ImageIO
49 explicit PngIO(
const string & fname, IOMode rw_mode = READ_ONLY);
53 static bool is_valid(
const void *first_block);
58 PNG_BYTES_TO_CHECK = 8
75 BitDepthType depth_type;
#define DEFINE_IMAGEIO_FUNC
DEFINE_IMAGEIO_FUNC declares the functions that needs to be implemented by any subclass of ImageIO.