Crop bug between 2.* and 3.* #259
TheROPFather
started this conversation in
General
Replies: 1 comment
-
Hi i had the same issue. To get the same result dont use Use :
(and imported : use Spatie\Image\Enums\Fit;) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I had an existing crop in place using the old 2.* package and since upgrading to 3.* the crop result is different. I am passing the same parameters as far as I can tell, to demonstrate I setup two tiny git repo's so you can easily reproduce.
Working (2.*) - Working Spatie Crop
Not Working (3.*) - Broken Spatie Crop
Please clone both, then
composer install && php artisan storage:link && cp .env.example .env && php artisan key:generate && php artisan serve
the home page will show the original and cropped. The two have different cropped results.
The code is in the web.php route file.
Any help appreciated, cheers!!
Beta Was this translation helpful? Give feedback.
All reactions