I want to resize an image with custom ratio (width:height)=(5:1)
-
Using Intervention image manipulation library in
laravel
. -
It's not a problem if the image stretches. I don't want to put any fixed height or width.
so please give me some suggestions.
Best Answer
I think the best solution might be, to use fit() from the library.
Like this:
It don't stretches the image.