I was happily hacking around some days ago when I suddenly had the need to do a quick image based on an existing one, basically crop it and paint a background. I was about to fire up the GIMP but remembered that it takes forever to initialize in my laptop (2 gigs of RAM, are you kidding me?) so I decided to travel the adventurous road of manipulating the image with GraphicsPad.

If you have played with GraphicsPad you know that it is light years behind of GIMP in terms of being a full fledged Image Manipulation Program, but it got the job done pretty easily, until it was time to save the new image, GraphicsPad doesn't have a "Save as Image..." option! oops

I had to save the script and then paste the code in groovyConsole and execute it. I'll make sure to have that option enabled in the next version, Svg2Groovy should also have a similar one. The good news is that this feature is halfway done now that GraphicsRenderer has a set of renderToFile methods (handy companions to render) that take care of creating, drawing and writing the image to a file in one swoop.

Keep on Groovying!