Projects / rpng/rpng2/wpng


These are the demo programs that accompany O'Reilly's "PNG: The Definitive Guide." rpng is a simple file viewer with the ability to set a background color when displaying transparent PNGs. rpng2 is a progressive PNG viewer, designed to work like a web browser (though it contains no network code); it can generate a background image when displaying transparent PNGs. wpng is a simple converter from NetPBM to PNG format; in most respects it is much more limited than pnmtopng, but it supports interactive entry of PNG text annotations and will generate noninterlaced PNGs on the fly (rather than buffering the entire image first like pnmtopng). The viewers include simple front ends for both X and Win32; the converter is a command-line app that compiles on Unix, Windows, and probably other platforms.

Operating Systems

Recent releases

  •  16 Mar 2008 23:00

    Release Notes: This release fixes the handling of truncated or partly unreadable image files, and tweaks the display of the usage screen to make error messages more noticeable.

    •  03 Jun 2007 11:11

      Release Notes: This release adds AMD64 support and a couple of new options to rpng2-x. It also fixes a number of relatively minor bugs. The code is now dual-licensed under the GNU GPL as well as the original BSD-like license.

      •  29 Feb 2000 18:24

        Release Notes: A fix for byte-sex dependencies with the X frontends to the two viewers that caused problems on big-endian platforms, and on X servers with multiple visuals whose default visual is *not* TrueColor (such as SGI and Sun workstations), the programs will now switch to a TrueColor visual--currently 24-bit only, but this could easily be extended to 15/16/32-bit, too.

        •  19 Sep 1999 00:27

          Release Notes: This is the initial public release. OS/2 and BeOS front ends are planned, but probably not until sometime in 2000.


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.