resize(array( 'width' => 200, 'height' => 100, 'scale' => false, 'left' => 0, 'top' => 0, )); $image->output_jpg(); ?>