-
Notifications
You must be signed in to change notification settings - Fork 6
Add shadow
Aurélien edited this page Jan 31, 2015
·
2 revisions
task addShadow(type: com.eowise.imagemagick.tasks.Magick) {
convert 'img', { include '*.png' }
into 'outputDir'
actions {
inputFile()
stack {
+clone
-background('black')
-shadow('25x3+0+1.5')
}
+swap
-background('none')
-layers('merge')
+repage
outputFile()
}
}