Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
Imagick::scaleImage
(No version information available, might be only in CVS)
Imagick::scaleImage — Scales the size of an image
Описание
bool Imagick::scaleImage ( int $cols , int $rows [, bool $fit ] )
Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.
Scales the size of an image to the given dimensions. The other parameter will be calculated if 0 is passed as either param.
Список параметров
- cols
-
- rows
-
- fit
-
Возвращаемые значения
Returns TRUE on success.
Errors/Exceptions
Throws ImagickException on error.
Список изменений
Версия | Описание |
---|---|
2.1.0 | Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling. |