RubyGems Navigation menu

png 1.1.0

PNG is an almost-pure-ruby PNG library. It lets you write a PNG without any C libraries. == FEATURES * Very simple interface. * Outputs simple PNG files with ease. * Basic PNG reader as well (someday it might do compositing and the like!). * Almost pure ruby, does require a compiler. == SYNOPSYS require 'png' canvas = PNG::Canvas.new 200, 200 # Set a point to a color canvas[100, 100] = PNG::Color::Black # draw an anti-aliased line canvas.line 50, 50, 100, 50, PNG::Color::Blue png = PNG.new canvas png.save 'blah.png'

Versions:

  1. 1.2.1 - April 13, 2015 (21.5 KB)
  2. 1.2.0 - June 23, 2009 (19.5 KB)
  3. 1.1.0 - March 26, 2007 (12 KB)
  4. 1.0.0 - August 31, 2006 (6 KB)

Authors:

  • Ryan Davis, Eric Hodel

Owners:

58479f76374a3ba3c69b9804163f39f45a837592409354297424994e8d62f722

Sha 256 checksum:

f7447ea4333ec5db75d0ea292bcf41355fcaed2c78640fc571efc36fe83c5b9a

Total downloads 23,686

For this version 5,101

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: