1 /**************************************************************************/
2 /*                                                                        */
3 /* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/.         */
4 /*                                                                        */
5 /* NXCOMP, NX protocol compression and NX extensions to this software     */
6 /* are copyright of NoMachine. Redistribution and use of the present      */
7 /* software is allowed according to terms specified in the file LICENSE   */
8 /* which comes in the source distribution.                                */
9 /*                                                                        */
10 /* Check http://www.nomachine.com/licensing.html for applicability.       */
11 /*                                                                        */
12 /* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
13 /*                                                                        */
14 /* All rights reserved.                                                   */
15 /*                                                                        */
16 /**************************************************************************/
17 
18 #ifndef Pgn_H
19 #define Pgn_H
20 
21 //
22 // This file obviously supports PNG
23 // decompression. It was renamed to
24 // avoid name clashes on Windows.
25 //
26 
27 #include "Misc.h"
28 #include "Unpack.h"
29 
30 int UnpackPng(T_geometry *geometry, unsigned char method, unsigned char *srcData,
31                   int srcSize, int dstBpp, int dstWidth, int dstHeight,
32                       unsigned char *dstData, int dstSize);
33 
34 #endif /* Pgn_H */
35