One line command to distort and compose image
Posted: 2017-09-08T07:13:37-07:00
Hi everyone i have an image ( it's a book cover ) that is composed by back, spine, and cover like in this image
Now with 3 convert commands i cut the blue part and distort it saving as cover.png, after that i crop the yellow part saving it as spine.png, and with a third command i compose those images obtaining this
is there a way to do all this work in a single command?
I ask because the script that generates this image runs on aws lambda and saves the output to amazon s3 so less read/write i do better is..
thanks in advance
Now with 3 convert commands i cut the blue part and distort it saving as cover.png, after that i crop the yellow part saving it as spine.png, and with a third command i compose those images obtaining this
is there a way to do all this work in a single command?
I ask because the script that generates this image runs on aws lambda and saves the output to amazon s3 so less read/write i do better is..
thanks in advance