Using mimimagick to resize image