• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

example/H20-Jul-2019-12956

test/H20-Jul-2019-1,247866

AUTHORSH A D20-Jul-2019160 53

BUGSH A D20-Jul-2019351 147

COPYINGH A D20-Jul-20191.4 KiB2620

ChangeLogH A D20-Jul-2019752 3018

DoxyfileH A D20-Jul-201949.2 KiB1,305938

INSTALLH A D20-Jul-20191.9 KiB8248

MakefileH A D03-May-20223.5 KiB13070

NEWSH A D20-Jul-20191.2 KiB6132

READMEH A D20-Jul-20192 KiB7245

TODOH A D20-Jul-2019151 54

color.hppH A D20-Jul-20192.2 KiB6623

common.mkH A D20-Jul-2019864 4834

config.hppH A D03-May-20222.9 KiB9936

consumer.hppH A D20-Jul-20198.9 KiB256112

convert_color_space.hppH A D20-Jul-201911.4 KiB353241

end_info.hppH A D20-Jul-20192.3 KiB7529

error.hppH A D20-Jul-20193.7 KiB11954

ga_pixel.hppH A D20-Jul-20192.8 KiB8728

generator.hppH A D20-Jul-20197.2 KiB20580

gray_pixel.hppH A D20-Jul-20193.4 KiB11240

image.hppH A D20-Jul-201915.8 KiB551293

image_info.hppH A D20-Jul-20195.4 KiB216138

index_pixel.hppH A D20-Jul-20193.3 KiB11347

info.hppH A D20-Jul-20196 KiB187135

info_base.hppH A D20-Jul-20192.4 KiB7834

io_base.hppH A D20-Jul-201913.3 KiB468352

packed_pixel.hppH A D20-Jul-20192.6 KiB8538

palette.hppH A D20-Jul-20191.9 KiB499

pixel_buffer.hppH A D20-Jul-201913.6 KiB498288

pixel_traits.hppH A D20-Jul-20193.4 KiB10441

png.hppH A D20-Jul-201910.4 KiB29729

reader.hppH A D20-Jul-20195.5 KiB18096

require_color_space.hppH A D20-Jul-20195.2 KiB172109

rgb_pixel.hppH A D20-Jul-20192.8 KiB9130

rgba_pixel.hppH A D20-Jul-20193.1 KiB9734

solid_pixel_buffer.hppH A D20-Jul-20197.3 KiB244123

streaming_base.hppH A D20-Jul-20193.6 KiB12966

tRNS.hppH A D20-Jul-20191.9 KiB499

types.hppH A D20-Jul-20193.9 KiB12177

writer.hppH A D20-Jul-20196.2 KiB200119

README

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