Coder Social home page Coder Social logo

pngcs's Introduction

PNGCS

A small library to read/write huge PNG files in C#

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

It provides a simple API for progressive (sequential line-oriented) reading and writing. It's especially 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 Java library. The API, documentation and samples from PNGJ also apply to this PngCs library.

The distribution of this library includes documentation in folder docs/; this is also available on Github Pages.

See also the included sample projects, in folder SamplesTests/.

RELEASES

NOTE: Since version 1.1.4 two assemblies are provided for different environments:

1 For .Net 4.5 : dotnet45/Pngcs45.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

2 .Net 2.0 compatible: dotnet20/Pngcs.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. 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.

HISTORY

See changes.txt in this folder.

Hernan J Gonzalez - [email protected] - http://stackoverflow.com/users/277304/leonbloy

Tommy Ettinger - https://github.com/tommyettinger/

pngcs's People

Contributors

leonbloy avatar tommyettinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.