/*************************************************************************\
* "$RCSfile: PNG_Lib.h,v $"                                               *
***************************************************************************
* Information by CVS or VSS:                                              *
*     Last check in on: $Date: 2013-04-26 09:13:32 $                      *
*     by                $Author: goebel $
*     Revision        : $Revision: 1.22 $                                 *
\*************************************************************************/
/*! \file PNG_Lib.h
*	\brief PNG Library Interface
*	\author (c) 2005 - 2012 IMAGO Technologies GmbH
*	$Revision: 1.22 $
*	$Date: 2013-04-26 09:13:32 $
*	\addtogroup PNG
*	\{
*******************************************************************************/

#define _PNG_LIB_HID {"PNG_Lib.h", __DATE__, __TIME__, _REVISION($Revision: 1.22 $)}

extern char *PNG_LibVersion;	//!< Library version
extern char *PNG_LibDate;		//!< Library compilation date

#ifdef __cplusplus
extern "C" {
#endif

int  PNG_GetLibVersion(int *pMajor, int *pMinor);
void PNG_PrintLibInfo(void);
void PNG_SprintLibInfo(char *String);
int  PNG_GetInfo(int Device, const char *pFilename, int *pWidth, int *pHeight, int *pDepth);
int  PNG_ReadYImage(int Device, const char *pFilename, YIMAGE *pImage);
int  PNG_ReadCImage(int Device, const char *pFilename, CIMAGE *pImage);
int  PNG_WriteYImage(int Device, const char *pFilename, const YIMAGE *pImage);
int  PNG_WriteCImage(int Device, const char *pFilename, const CIMAGE *pImage);
int  PNG_GetInfoMem(const void *pMem, int *pWidth, int *pHeight, int *pDepth);
int  PNG_ReadYImageMem(const void *pMem, YIMAGE *pImage);
int  PNG_ReadCImageMem(const void *pMem, CIMAGE *pImage);
int  PNG_WritePImageMem(void *pMem, const PIMAGE *pImage);
int  PNG_WriteYImageMem(void *pMem, const YIMAGE *pImage);
int  PNG_WriteCImageMem(void *pMem, const CIMAGE *pImage);
CIMAGE PNG_ReadNewCImage(int Device, const char *pFilename);
CIMAGE PNG_ReadNewCImageMem(const void *pMem);
YIMAGE PNG_ReadNewYImage(int Device, const char *pFilename);
YIMAGE PNG_ReadNewYImageMem(const void *pMem);
void PNG_SetGBitMode(void);

#ifdef __cplusplus
}
#endif
//! \}
/*************************************************************************/
