Simpler (and hopefully faster) image cropping routine. Behaviour should be identical, but image is first cropped, then resized.