I have the following scenario:
On a website, images are being resized from width = Xpx to width = 1655px, because the uploaded images might have different widths higher than 1655px (never less than 1655px). The code for that is:
The quality is quite bad compared to the original image if the original image initially has 1655px as well. I tried to set the quality in the config.php to 100 with no luck (I guess it’s for thumbs only).
I tried using:
$image->resize(1655, null, 100)->url()
Weirdly, it’s a bit better then, but compared to the original, still quite bad. (But shouldn’t this be the same as setting the quality to 100 in the config.php?)
Also, if I’m using the built-in srcset width 1655 as max size, the quality seems to be the same as if I’m resizing it manually using
I emptied the media folder of course and tried using the other driver, with no luck. I’m using the latest PHP.
The website is heavily relying on images. Am I missing something?