merge all convert to one
Posted: 2016-03-15T06:06:08-07:00
Hello,
I need help to merge convert command due to optimization. We have command for resize, white remove, black remove , flip ,flop etc and merge.
below are sample code. Does it will improve speed ?
I am using: ImageMagick 6.9.3-0 Q8 i686
Do I use clone or mpr ?
Please advice.
Thanks,
I need help to merge convert command due to optimization. We have command for resize, white remove, black remove , flip ,flop etc and merge.
below are sample code. Does it will improve speed ?
Code: Select all
convert logo.png -resize 176x172\! temp-img-1-1458046351068348700.mpc
convert temp-img-1-1458046351068348700.mpc -fuzz 20% -transparent white virtual_temp_images/temp-img-1-1458046351068348700.mpc
convert logo2.png -resize 216x46\! temp-img-2-1458046351068348700.mpc
convert temp-img-2-1458046351068348700.mpc -fuzz 20% -transparent white temp-img-2-1458046351068348700.mpc
convert -size 216x172 xc:none temp-img-1-1458046351068348700.mpc -geometry +20.6666+0 -composite temp-img-2-1458046351068348700.mpc -geometry +0.666666+64 -composite temp-image1458046351068348700.mpc
Do I use clone or mpr ?
Please advice.
Thanks,