Path to this page:
./
graphics/ruby-chunky_png,
Pure ruby library for read/write, chunk-level access to PNG
Branch: pkgsrc-2013Q1,
Version: 1.2.7,
Package name: ruby193-chunky_png-1.2.7,
Maintainer: pkgsrc-users= Chunky PNG
This library can read and write PNG files. It is written in pure Ruby for
maximum portability. Let me rephrase: it does NOT require RMagick or any other
memory leaking image library.
== Features
* Decodes any image that the PNG standard allows. This includes all standard
color modes, all bit depths and all transparency, interlacing and
filtering options.
* Encodes images supports all color modes (true color, grayscale and indexed)
and transparency for all these color modes. The best color mode will be
chosen automatically, based on the amount of used colors.
* R/W access to the image's pixels.
* R/W access to all image metadata that is stored in chunks.
* Memory efficient (uses a Fixnum, i.e. 4 or 8 bytes of memory per pixel,
depending on the hardware)
* Reasonably fast for Ruby standards, by only using integer math and a highly
optimized saving routine.
* Interoperability with RMagick if you really have to.
Also, have a look at OilyPNG at http://github.com/wvanbergen/oily_png.
OilyPNG is a mixin module that implements some of the ChunkyPNG algorithms
in C, which provides a massive speed boost to encoding and decoding.
Required to run:[
lang/ruby193-base]
Master sites: (Expand)
SHA1: cf3724bdb464851b6ce180769af48c6d5e833df3
RMD160: aaa2f1e867fcc1239e5c3eb59f949e3caf74ada7
Filesize: 315.5 KB
Version history: (Expand)
- (2013-04-01) Package added to pkgsrc.se, version ruby193-chunky_png-1.2.7 (created)