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’

All Versions

Version Platform Released Documention
1.1.0 ruby March 26th, 2007 Awaiting Generation
1.0.0 ruby August 31st, 2006 Awaiting Generation

Tags

You need to Login to tag this item.