First thing first: i suggest you to use 1.4.0 version of imagemagick :).
Reading the error seems that you have not configured the imagemagick path.
In my grails application that uses imagemagick code looks like this:
@Value('${externalTools.imagemagick.path:/usr/local/bin}')
private String imagemagickPath
CreateTemporaryThumbnailsResult call(CreateTemporaryThumbnailsEvent event){
log.debug("IMAGEMAGICK PATH: $imagemagickPath")
String originalFilePath = generateOriginalFilePath(event.fileName, event.fileExtension)
String mediumFilePath = generateMediumFilePath(event.fileName, event.fileExtension)
// create command
ConvertCmd cmd = new ConvertCmd();
cmd.setSearchPath(imagemagickPath)
// create the operation, add images and operators/options
IMOperation op = new IMOperation();
op.addImage(originalFilePath);
op.thumbnail(mediumSizeImage, mediumSizeImage)
op.background("white")
op.gravity("center")
op.extent(mediumSizeImage,mediumSizeImage)
op.addImage(mediumFilePath);
// execute the operation
try {
cmd.run(op);
} catch (IOException e) {
return new CreateTemporaryThumbnailsResult(false)
} catch (InterruptedException e){
return new CreateTemporaryThumbnailsResult(false)
} catch(Exception e){
return new CreateTemporaryThumbnailsResult(false)
}
return new CreateTemporaryThumbnailsResult(true, event.fileName + ImageSize.MEDIUM.toString() + "." + event.fileExtension, event.fileName)
}
I used hipsteroid grails project as example to discover how to use imagemagick with grails, i suggest you to do the same if you have any doubts, it's really full of information about images manipulation with groovy and imagemagick.