RubyGems Navigation menu

chunky_png 1.2.1

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.


  1. 1.3.5 - October 28, 2015 (342 KB)
  2. 1.3.4 - February 16, 2015 (341 KB)
  3. 1.3.3 - October 24, 2014 (338 KB)
  4. 1.3.2 - October 18, 2014 (337 KB)
  5. 1.3.1 - April 28, 2014 (335 KB)
Show all versions (57 total)

Development Dependencies:


  • Willem van Bergen



Sha 256 checksum:


Total downloads 13,546,528

For this version 90,394

Show all versions (57 total)

= Copy to clipboard Copied!

= Copy to clipboard Copied!



Required Ruby Version: None