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: 266 of 198,451
Downloads: 215,389,315

Daily

Ranking: 279 of 198,429
Downloads: 158,553

Depended by

RankDownloadsName
415135,891,567rqrcode
1,07148,173,456compass
1,99516,112,087oily_png
3,0186,176,981sprite-factory
3,0775,934,714asciidoctor-pdf
3,2285,203,268playwright-ruby-client
3,5054,175,526rqrcode_png
4,4762,265,347puppeteer-ruby
4,7571,947,172sprockets-svg
5,4221,433,627imatcher
5,7261,260,853apparition
6,799849,688qrio
8,272557,662has_barcode
8,457528,308watir-screenshot-stitch
9,058455,748sproutcore
9,211439,440compass-rgbapng
9,605398,294identicon
9,614397,553escpos-image
10,601317,491miro
11,083288,867waveform

Depends on

RankDownloadsName
81,463,583,217rake
291,040,602,616rspec
234242,568,210yard
98654,275,267standard

Owners

#GravatarHandle
1iconwvanbergen