Remove spaces and tabs at end of lines.
[synfig.git] / gtkmm-osx / trunk / libpng-1.2.5 / contrib / visupng / PngFile.h
blob18acf55998af1422b505b870d31f86fb11e320de
1 //------------------------------------------
2 // PNGFILE.H -- Header File for pngfile.c
3 //------------------------------------------
5 // Copyright 2000, Willem van Schaik. For conditions of distribution and
6 // use, see the copyright/license/disclaimer notice in png.h
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <windows.h>
13 void PngFileInitialize (HWND hwnd) ;
14 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
15 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
17 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
18 int *piWidth, int *piHeight, int *piChannels, png_color *pBkgColor);
19 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
20 int iWidth, int iHeight, png_color BkgColor);
22 #if defined(PNG_NO_STDIO)
23 static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
24 static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
25 static void png_flush(png_structp png_ptr);
26 #endif