@danilchican very similar issue like you. Check this
Dec 21, 2020
7
Level 2
Laravel Intervention/Image: Unable to init from given binary data.
Hi everyone! I faced with the issue when I tried to use laravel intervention/image package. I have a Service class which have method with following logic e.g.:
return Image::make($imageUrl);
And I have console command which calls the service method. The problem is that if I execute artisan custom command everything is ok. But when I try to use this service inside controller it fails with the following error:
Intervention\Image\Exception\NotReadableException
Unable to read image from binary data.
Intervention\Image\Imagick\Decoder::initFromBinary
...\mysite.local\vendor\intervention\image\src\Intervention\Image\Imagick\Decoder.php:90
$imageUrl is equal to http://somesite.com/image.jpg.
Can you help me with that? No idea what happens.
Please or to participate in this conversation.