Resizes an image to the given dimensions (ignoring aspect ratio).
$image: An image object returned by image_load().
$width: The target width, in pixels.
$height: The target height, in pixels.
TRUE on success, FALSE on failure.
function image_resize(stdClass $image, $width, $height) {
$width = (int) round($width);
$height = (int) round($height);
return image_toolkit_invoke('resize', $image, array(
$width,
$height,
));
}