Categories: None [Edit]

chunky_png

https://rubygems.org/gems/chunky_png
https://github.com/wvanbergen/chunky_png
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 https://github.com/wvanbergen/oily_png. 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.

Total

Ranking: 256 of 191,483
Downloads: 192,257,669

Daily

Ranking: 326 of 191,454
Downloads: 121,950

Depended by

RankDownloadsName
432115,593,369rqrcode
1,01647,133,618compass
1,95115,073,006oily_png
2,8835,943,405sprite-factory
3,1624,742,065asciidoctor-pdf
3,4603,737,661rqrcode_png
4,1682,368,633playwright-ruby-client
4,5031,917,895sprockets-svg
4,7681,664,242puppeteer-ruby
5,1091,426,607imatcher
5,6561,116,306apparition
6,483797,053qrio
7,799541,959has_barcode
8,073496,552watir-screenshot-stitch
8,510442,319sproutcore
8,576434,262compass-rgbapng
9,006390,918identicon
10,048308,467miro
10,332291,019escpos-image
10,613273,488waveform

Depends on

RankDownloadsName
81,274,245,981rake
29964,633,797rspec
227212,397,555yard
1,07343,576,945standard

Owners

#GravatarHandle
1iconwvanbergen