GraphicsBuilder: J2D, a Grails plugin - No Fluff Just Stuff

GraphicsBuilder: J2D, a Grails plugin

Posted by: Andres Almiray on June 5, 2008

As previously mentioned here (nearly 5 months ago), GraphicsBuilder had reached a level of maturity that enabled anyone to create catchy images with Groovy. At the last paragraph I wrote
Now that I have proven that GrahicsBuilder is an option for creating webby buttons and that it can also render to offscreen images the next logic step would be to cook up a Grails plugin to serve custom-made on-the-fly images.

Well the wait is over, version 0.1 of the J2D Plugin has been released. It is quite small in terms of code yet powerful, as it adds a new method to all Controller classes: renderImage, capable of rendering an offscreen image.

The following features are already in the roadmap for the next versions
  • cache images either in memory or in files
  • SVG (and probably SWF) output via SVGRenderer
  • Java 1.4+ support instead of just 1.6+
  • image transparency
  • output animated gifs and pngs
Feedback is always appreciated

Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »