I'm just trying to do this... gm convert -resize 300x input.jpg -crop 300x200+0+50 -extent 300x300 output.jpg I am not sure why it isnt working though, it looks like this isnt a wrapper but every function has to be added..?