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: 264 of 199,265
Downloads: 218,159,840

Daily

Ranking: 265 of 199,228
Downloads: 206,175

Depended by

RankDownloadsName
413138,404,391rqrcode
1,07548,262,979compass
2,00716,159,967oily_png
3,0316,196,810sprite-factory
3,0576,066,052asciidoctor-pdf
3,1405,672,065playwright-ruby-client
3,5164,204,634rqrcode_png
4,4502,325,724puppeteer-ruby
4,7831,948,692sprockets-svg
5,4541,434,018imatcher
5,7421,267,531apparition
6,815855,254qrio
8,306559,200has_barcode
8,496530,605watir-screenshot-stitch
9,097457,637sproutcore
9,258440,144compass-rgbapng
9,645400,176escpos-image
9,654399,559identicon
10,649318,386miro
11,122290,005waveform

Depends on

RankDownloadsName
71,481,533,586rake
291,048,996,124rspec
235245,347,943yard
97555,416,728standard

Owners

#GravatarHandle
1iconwvanbergen