Science releases MojoMagick, a Ruby language image library “that does very little” ™. There are several useful image tools that “do a lot” – MojoMagick is designed to just a few things:
- Be fast
- Don’t leak memory
- Make simple ImageMagick tasks, simple as Ruby tasks
- Permit direct access to ImageMagick for complex tasks (i.e. get out of your way)
- Provide a central access to ImageMagick for good code architecture
- Easy to extend
- Limit memory accessible to ImageMagick (where desired)
That’s what it does. It’s packaged as a Rails plugin, but does not require Rails to run. You can also install it as a gem.
You can download a copy by following the instructions here.
2013 Update: Rcode5 has posted a github version which should probably be considered canonical for now: https://github.com/rcode5/mojo_magick