OK, I've tested it and yes, it does exactly what I need

, however there seems to be a little bug

.
The x and y values move the image in the opposite direction to what you'd expect. e.g., to place the image 200px from the left of the "canvas" you have to specify it as -200, and setting it to 200 will move it off the canvas.
e.g., to get a 400x400px image in the centre of an 800x800 canvas you have to do:
Code: Select all
$imagick = new Imagick('1.jpg'); // a 400x400px image
$imagick->extentImage(800, 800, -200, -200);
Other than that it's great, thank you!