Add frame

This commit is contained in:
loicbersier 2020-02-21 17:55:36 +01:00
parent 748277e107
commit c9e11c3d8e

View file

@ -85,6 +85,7 @@ class posterCommand extends Command {
// Write text on image using graphicsmagick // Write text on image using graphicsmagick
img.shave(1,1) img.shave(1,1)
.borderColor('white') .borderColor('white')
.frame(2,2,0,1)
.border(2,2) .border(2,2)
.borderColor('black') .borderColor('black')
.border(50,200) .border(50,200)