Imagick crop function produce blank image.
Imagick Object is as follows:-
Phalcon\Image\Adapter\Imagick Object
(
[_image:protected] => Imagick Object
(
)
[_file:protected] => /var/www/html/project/public/../apps/../public/uploads/folder/org.png
[_realpath:protected] => /var/www/html/project/public/uploads/folder/org.png
[_width:protected] => 676
[_height:protected] => 380
[_type:protected] => 6
[_mime:protected] => image/PNG
)
And Parameters for crop are as follows:-
$imagickObject->crop( 233,220,0,0 )
I even use different value for 3rd and 4th parameter