PNG is an almost-pure-ruby PNG library. It lets you write a PNG without any C libraries. See also: https://github.com/seattlerb/png