We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to resize the image only if it is larger than the size limits. This is my current code:
$fopen = Image::make($image, [ 'width' => 2400, 'height' => 1600 ])->get($ext);
Unfourtunately it upscales every image that is smaller in both dimensions. Can I pass some option or do something else to disallow upscaling?
I think I did this successfully before and I believe this was changed in version 0.1.6.
The text was updated successfully, but these errors were encountered:
same issue here! I never found the need to upscale an image, only downscaling.
Sorry, something went wrong.
No branches or pull requests
I would like to resize the image only if it is larger than the size limits. This is my current code:
Unfourtunately it upscales every image that is smaller in both dimensions. Can I pass some option or do something else to disallow upscaling?
I think I did this successfully before and I believe this was changed in version 0.1.6.
The text was updated successfully, but these errors were encountered: