If the code says:
Code: Select all
foreach ($this->_image AS $frame)
{
$frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true); // keep EXIF
$frame->setImagePage($frame->getImageWidth(), $frame->getImageHeight(), 0, 0);
}
Code: Select all
if ($scaleUp)
{
$frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true);
}
else if ($oldImagick)
{
$frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true); // keep EXIF
}
else
{
$frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true); // higher-quality scaling + EXIF retained
}
$frame->setImagePage($width, $height, 0, 0);
}