RubyGems Navigation menu

chunky_png 1.2.2

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.11 - November 21, 2018 (344.5 KB)
  2. 1.3.10 - January 23, 2018 (344.5 KB)
  3. 1.3.9 - January 23, 2018 (344.5 KB)
  4. 1.3.8 - November 11, 2016 (343.0 KB)
  5. 1.3.7 - August 31, 2016 (342.5 KB)
  6. 1.2.2 - September 14, 2011 (314.5 KB)
顯示所有版本(共 63)

Development 相依性套件 (2):



  • Willem van Bergen

SHA 256 checksum:


總下載次數 44,622,735

這個版本 2,646

= 複製 已複製



Ruby 版本需求: