mainpng++, a C++ wrapper for libpng - Summary

 
 
Membership Info
Project Admin:
1 active member

Group identification
Id: #9159
System Name: pngpp
Name: png++, a C++ wrapper for libpng
Group Type: non-GNU software and documentation

Search in this Group

in
   

This project is not part of the GNU Project.

PNG++ aims to provide simple yet powerful C++ interface to libpng, the
PNG reference implementation library.

PNG++ is free software distributed under a modified variant of BSD
license.

Using raw libpng in C++ may impose serious challenge since lots of
precautions must be taken to handle initialization/deinitialization of
control structures as well as handling errors correctly. With png++
you can read or write PNG images just in a single line of C++ code:

png::image< png::rgb_pixel > image("input.png");
image.write("output.png");

The code reads an image from the file named "input.png", then
writes the image to a file named "output.png". In this example png++
does all the transformations needed to create adequate in-memory RGB
representation of the image (well, in most cases it simply instructs
libpng to do so).

The image in "input.png" can be RGB image, or it might be grayscale or
even indexed image with a palette -- png++ will just convert any input
to RGB format. However, for technical reasons such automatic
transformation is supported for RGB and Grayscale color types only.
Optionally there may be an alpha channel in the target color space
(RGBA and Gray+Alpha respectively).

Current development version could be found here:

svn://svn.sv.nongnu.org/pngpp/trunk/

or, for people w/o outgoing svn:

http://svn.sv.nongnu.org/svn/pngpp/trunk/

Online documentation can be found here:

http://www.nongnu.org/pngpp/doc/

Donations of BTC (bitcoin) are accepted at this address: 1NBthazVcxxRywJdLtf8gbEnNn3XN324WC

Registration Date: Sun 11 Mar 2007 09:12:47 AM UTC
License: Modified BSD License
Development Status: 3 - Alpha

 

Latest News 
0.2.5 is out
     posted by alexshulgin, Tue 26 Oct 2010 07:58:18 AM UTC - 0 replies

Version 0.2.5:

- Fixed compatibility with newer libpng versions (>= 1.4)

- Fixed compilation on FreeBSD.

- Fixed tRNS handling with transformations.

- Added IO transformation debugging facility.

- Better organized test suite.

Happy hacking!

0.2.3 is out
     posted by alexshulgin, Sun 19 Oct 2008 07:31:43 PM UTC - 0 replies

A new version: png++-0.2.3 is released today.

This is a maintenance and bugfix release. In the news:

- Fixed numerous `already defined' errors due to
require_color_space implementation.

- Added `config.hpp'.

- Fixed `strerror' usage.

- Minor docs fixes.

Happy hacking!
--
Alex

Version 0.2.1 released
     posted by alexshulgin, Sat 08 Dec 2007 01:25:17 PM UTC - 0 replies

A new version (png++-0.2.1) is just released! This is maintenance and bugfix release with a few new features.

In the news:

- Added support for tRNS chunk.

- Added non-std IO streams support.

- Fixed 16-bit endianness problems.

- Improved test script.

--
Happy hacking!
Alex Shulgin


[Submit News]
[3 news in archive]

Back to the top


Powered by Savane 3.1-cleanup