21 int *piWidth,
int *piHeight,
int *piChannels,
png_color *pBkgColor);
23 int iWidth,
int iHeight,
png_color BkgColor);
25 #if defined(PNG_NO_STDIO) GLenum GLuint GLenum GLsizei length
void PngFileInitialize(HWND hwnd)
BOOL PngSaveImage(PTSTR pstrFileName, png_byte *pDiData, int iWidth, int iHeight, png_color BkgColor)
BOOL PngLoadImage(PTSTR pstrFileName, png_byte **ppbImageData, int *piWidth, int *piHeight, int *piChannels, png_color *pBkgColor)
BOOL PngFileSaveDlg(HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName)
void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
void png_flush(png_structp png_ptr)
png_struct FAR * png_structp
GLsizei GLsizei GLenum GLenum const GLvoid * data
BOOL PngFileOpenDlg(HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName)
void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)