[PATCH] Added support for images to the Ruby bindings.