image_resize
- Versions
- 4.6 – 6
image_resize($source,$destination, $width, $height)- 7
image_resize(stdClass $image, $width, $height)
Resize an image to the given dimensions (ignoring aspect ratio).
Parameters
$source The filepath of the source image.
$destination The file path of the destination image.
$width The target width.
$height The target height.
Code
includes/image.inc, line 144
<?php
function image_resize($source, $destination, $width, $height) {
return image_toolkit_invoke('resize', array($source, $destination, $width, $height));
}
?>Login or register to post comments 