Imagick::adaptiveResizeImage(No version information available, might be only in CVS) Imagick::adaptiveResizeImage — Adaptively resize image with data dependent triangulation Описание
bool Imagick::adaptiveResizeImage
( int $columns
, int $rows
[, bool $fit
] )
Adaptively resize image with data-dependent triangulation. Avoids blurring across sharp color changes. Most useful when used to shrink images slightly to a slightly smaller "web size"; may not look good when a full-sized image is adaptively resized to a thumbnail. Список параметров
Возвращаемые значенияReturns TRUE on success. Errors/ExceptionsThrows ImagickException on error. Список изменений
Примеры
Пример #1 Using Imagick::adaptiveResizeImage() Resize an image to a standard size for the web. This method works best when resizing to a size only slightly smaller than the previous image size.
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |