image_resize
includes/image.inc, строка 144
- Версии
- 5 – 6
image_resize($source, $destination, $width, $height)
Resize an image to the given dimensions (ignoring aspect ratio).
Параметры
$source
The filepath of the source image.
$destination
The file path of the destination image.
$width
The target width.
$height
The target height.
Код
<?php
function image_resize($source, $destination, $width, $height) {
return image_toolkit_invoke('resize', array($source, $destination, $width, $height));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии