I got 2 seprate Imagemagick commands (resize and crop circle). Is it possible to combine both commands into single PHP exec.
exec('convert original.jpg -resize x100 -gravity center -crop 100x100+0+0 +repage thumbnail.jpg');
exec('convert -size 100x100 xc:none -fill thumbnail.jpg -draw "circle 50,50 50,0" circle.png');
Many thanks