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));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему