Posted By

iure on 07/09/10


Tagged

image textmate thumb imagetool


Versions (?)

Generate thumbnail with ImageTool


 / Published in: Groovy
 

  1. ImageTool imgTool = new ImageTool()
  2. imgTool.load($1.getBytes())
  3. imgTool.thumbnail(260)
  4. return imgTool.getBytes("JPEG")

Report this snippet  

You need to login to post a comment.