PHP » GoLang |
login |
register |
about
|
GoLang Imagick::adaptiveResizeImage
request it (313)
GoLang replacement for PHP's Imagick::adaptiveResizeImage
[edit | history]
PHP Imagick::adaptiveResizeImagePHP original manual for Imagick::adaptiveResizeImage [ show | php.net ]Imagick::adaptiveResizeImage(PECL imagick 2.0.0) Imagick::adaptiveResizeImage — Adaptively resize image with data dependent triangulation Description
bool Imagick::adaptiveResizeImage
( int
$columns
, int $rows
[, bool $bestfit = FALSE
[, bool $legacy = FALSE
]] )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. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.
Parameters
Return Values
Returns Errors/ExceptionsThrows ImagickException on error. Changelog
Examples
Example #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 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|