1This is png++ the C++ wrapper for libpng.  Version 0.2
2
3General
4=======
5
6PNG++ aims to provide simple yet powerful C++ interface to libpng, the
7PNG reference implementation library.
8
9PNG++ is free software distributed under a modified variant of BSD
10license.  For more details please refer to file COPYING in this
11directory.
12
13Using raw libpng in C++ may impose serious challenge since lots of
14precautions must be taken to handle initialization/deinitialization of
15control structures as well as handling errors correctly.  With png++
16you can read or write PNG images just in a single line of C++ code:
17
18png::image< png::rgb_pixel > image("input.png");
19image.write("output.png");
20
21The code reads an image from the file named "input.png", then writes
22the image to a file named "output.png".  In this example png++ does
23all the transformations needed to create adequate in-memory RGB
24representation of the image (well, in most cases it simply instructs
25libpng to do so).
26
27The image in "input.png" can be RGB image, or it might be grayscale or
28even indexed image with a palette--png++ will just convert any input
29to RGB format.  However, for technical reasons such automatic
30transformation is supported for RGB and Grayscale color types only.
31Optionally there may be an alpha channel in the target color space
32(RGBA and Gray+Alpha respectively).
33
34
35Download
36========
37
38The project is hosted at Savannah:
39
40	http://savannah.nongnu.org/projects/pngpp/
41
42Released source packages can be found here:
43
44	http://download.savannah.nongnu.org/releases/pngpp/
45
46Also, you can check out sources directly from SVN repository:
47
48	svn://svn.sv.nongnu.org/pngpp/trunk/
49
50or, for people w/o outgoing svn:
51
52	http://svn.sv.nongnu.org/pngpp/trunk/
53
54Online documentation can be found here:
55
56	http://www.nongnu.org/pngpp/doc/
57
58
59Help
60====
61
62There is a mailing list for developers:
63
64	http://lists.nongnu.org/mailman/listinfo/pngpp-devel
65
66You can also contact me by dropping a mail to <alex.shulgin@gmail.com>.
67
68
69Happy hacking!
70--
71Alex Shulgin  <alex.shulgin@gmail.com>
72