Skip to content
Aurélien edited this page Apr 10, 2015 · 3 revisions
task resize(type: com.eowise.imagemagick.tasks.Magick) {
    convert 'img', { include '*.png' }
    into 'outputDir'
    actions {
        -background('none')
        inputFile()
        -resize('50%')
        outputFile()
    }
}
Clone this wiki locally