Closed RolandTi closed 2 years ago
I think I solved my issue by editing imagecopyresized
to imagecopyresampled
in ImageUtils.php
It would be interesting to see the file size difference between the same thumbnail generated using imagecopyresized
and imagecopyresampled
. It is true that current thumbnails sometimes look quite aliased/ugly.
source: https://www.youtube.com/watch?v=HsZUAq5yvw4
source: https://www.wolframalpha.com/
If the size difference is not very important, maybe it could be switched to imagecopyresampled
? Or made configurable?
11ko and 12ko (using 80% quality for jpeg instead of default 75%)
I need to look a little bit more, because I got some "An error occurred. Return code: 500" while displaying to much shaares. Maybe imagecopyresampled
ask to much ressources.
Thanks for the suggestion, it does look way nicer! I have added this change under a setting that is now enabled by default.
Hello ! I'm trying to get a better quality for the thumbs. I changed the line 111 in ImageUtils.php from
imagejpeg($targetImg, $target);
toimagejpeg($targetImg, $target,90);
but there is still many artifacts. Does I need to add php imageantialias or something like this ?Thanks for your help !