Skip to content

Releases: tommyettinger/pngcs

Last Google Code release, 1.1.4

29 Aug 00:05
Compare
Choose a tag to compare

Note from @tommyettinger: I'm trying to bring over everything from pngcs' archived Google Code project, and the releases didn't automatically come over to GitHub. You most likely want pngcs_1_1_4_src.zip , since it includes docs as well as the sources and the two versions of binaries.

PngCs version 1.1.4

PngCs is a C# to read/write PNG images.

It provides a simple API for progressive (sequential line-oriented) reading and writing.
It's specially suitable for huge images, which one does not want to load fully in memory.

It supports all PNG spec color models and bitdepths: RGB8/RGB16/RGBA8/RGBA16, G8/4/2/1,
GA8/4/2/1, PAL8/4/2/1, all filters/compressions settings. It does not support interlaced images.
It also has support for Chunks (metadata).

This is a port of the PngJ library (Java): http://code.google.com/p/pngj/
the API, documentation and samples from PNGJ apply also
to this PngCs library: http://code.google.com/p/pngj/wiki/Overview

As of version 1.1.4, two assemblies are provided for different environments:

  1. For .Net 4.5 : dotnet45/png45.dll
    This uses an internal Zlib implementation based on the new .Net 4.5 DeflateStream

Advantages:

  • Single dll, does not requires SharpZipLib dll
  • Better speed
  1. .Net 2.0 compatible: dotnet20/png.dll
    This requires an extra dll (included) ICSharpCode.SharpZipLib.dll

Advantages:

  • Works with old .net versions (2.0 and above)
  • Slightly better compression

Licensing

The ICSharpCode.SharpZipLib.dll assembly, provided with this library,
must be referenced together with pngcs.dll by client projects using the .Net 2.0 version.
Because SharpZipLib is released under the GPL license with an exception
that allows to link it with independent modules, PNGCS relies on that
exception and is released under the Apache license. See LICENSE.txt , distributed
with this library.

History

See changes.txt

Hernan J Gonzalez - hgonzalez@gmail.com - http://stackoverflow.com/users/277304/leonbloy
Tommy Ettinger - http://github.com/tommyettinger/ - (probably cannot answer questions about PngCs)