RubyGems Navigation menu

chunky_png 1.0.0.rc2

This pure Ruby library can read and write PNG images without depending on an external image library, like RMagick. It tries to be memory efficient and reasonably fast. It supports reading and writing all PNG variants that are defined in the specification, with one limitation: only 8-bit color depth is supported. It supports all transparency, interlacing and filtering options the PNG specifications allows. It can also read and write textual metadata from PNG files. Low-level read/write access to PNG chunks is also possible. This library supports simple drawing on the image canvas and simple operations like alpha composition and cropping. Finally, it can import from and export to RMagick for interoperability. Also, have a look at OilyPNG at OilyPNG is a drop in mixin module that implements some of the ChunkyPNG algorithms in C, which provides a massive speed boost to encoding and decoding.

= Copy to clipboard Copied!



  1. 1.4.0 - December 28, 2020 (355 KB)
  2. 1.3.15 - December 15, 2020 (355 KB)
  3. 1.3.14 - October 27, 2020 (355 KB)
  4. 1.3.13 - October 23, 2020 (346 KB)
  5. 1.3.12 - August 03, 2020 (346 KB)
  6. 1.0.0.rc2 - March 02, 2011 (307 KB)
Mostrar todas as versões (68)

Development Dependencies (2):

rake >= 0
rspec ~> 2.2



  • Willem van Bergen

SHA 256 checksum:

= Copy to clipboard Copied!

Total de downloads 140.937.515

Desta versão 3.009



Versão Requerida do Ruby: Nenhum

Versão Requerida do RubyGems: > 1.3.1