Thursday May 22, 2008

Image Processing in Rails using Java 2D API

Raisl Grayed Out

Using JRuby (instead of Ruby) to develop your Rails applications allow you to leverage the power of Java libraries in Rails applications. Java 2D API is one such API that provides support for advanced 2D graphics and imaging.

Jennifer has a good Writeup explaining image-filtering effects (negative, grayscale, brigthen, sharpen) using Java 2D API on an image.


The app runs using GlassFish v3 Gem but can be natively deployed on TP2 as well.

TP2 Docs provide a more comprehensive tutorial on how to get started with using Rails for the GlassFish v3 Application Server.