Return to Snippet

Revision: 28503
at July 9, 2010 01:17 by iure


Updated Code
ImageTool imgTool = new ImageTool()
imgTool.load($1.getBytes())
imgTool.thumbnail(260)
return imgTool.getBytes("JPEG")

Revision: 28502
at July 9, 2010 01:15 by iure


Initial Code
ImageUtil imgTool = new ImageUtil()
        imgTool.load(img.getBytes())
        imgTool.thumbnail(260)
		return imgTool.getBytes("JPEG")

Initial URL

                                

Initial Description

                                

Initial Title
Generate thumbnail with ImageTool

Initial Tags
image, textmate

Initial Language
Groovy