cleaning up issues reported in logs
This commit is contained in:
@@ -153,14 +153,14 @@ class photo_imagick extends photo_driver {
|
||||
do {
|
||||
$this->image->cropImage($w, $h, $x, $y);
|
||||
/**
|
||||
* We need to remove the canva,
|
||||
* We need to remove the canvas,
|
||||
* or the image is not resized to the crop:
|
||||
* http://php.net/manual/en/imagick.cropimage.php#97232
|
||||
*/
|
||||
$this->image->setImagePage(0, 0, 0, 0);
|
||||
} while ($this->image->nextImage());
|
||||
|
||||
$this->doScaleImage($max);
|
||||
$this->doScaleImage($max,$max);
|
||||
}
|
||||
|
||||
public function imageString() {
|
||||
|
Reference in New Issue
Block a user