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.

Rubygem chunky_png

Total Downloads
Current Version
2016-06-19 00:00:00 UTC
First Release
2010-01-09 23:00:00 UTC
Depends on following gems
Depending Gems

Github wvanbergen/chunky_png

Development activity
Less active
Last commit
2016-04-13 10:46:12 UTC


Jacksonaa wrote 2015-09-03 10:37:03 UTC:

recently i have gone through an awesome site namely that converts one form of image into another... just go through it and have a nice conversion!!!!!!!!

Post a comment

Markdown supported

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.