Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Get geometry from image passed as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
CheeseSucker committed Mar 19, 2016
1 parent de73e51 commit 8fac21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stojg/crop/CropBalanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getOffsetBalanced($targetWidth, $targetHeight)
* @throws \Exception
*/
protected function getOffsetBalanced2(\Imagick $image, $targetWidth, $targetHeight) {
$size = $this->originalImage->getImageGeometry();
$size = $image->getImageGeometry();

$points = array();

Expand Down

0 comments on commit 8fac21b

Please sign in to comment.