GD library that Prestashop is using to generate it's thumbnails is making strange artifacts and grey lines on images. It's very irritating on images with white background.
It's not visible on cheaper displays - it's visible on my Dell P-series display, Macbooks, iPhones etc.
View them here:
http://www.trendo.cz/test_1.jpg
Darker version if you don't see it: http://www.trendo.cz/test_1_darker.jpg
This problem can be solved by using another graphics toolkit available in PHP - Imagick.
Advantages:
See my test here:
http://www.trendo.cz/imageTest.php
Thanks for opening this issue! We will help you to keep its state consistent
Hi @Hlavtox,
I did not manage to reproduce the issue with PS1.7.6.7.
I used iPhone11.
Could you please try with this image if you have some issues?
Thanks!
@khouloudbelguith I see it on your screenshot. 馃槃
Nice catch @Hlavtox
Hello @Hlavtox !
I am using a macbook with LG display, I wasn't able to reproduce it :s
@ngodefroy Not looking close enough.
If you don't see it, open Photoshop or GIMP and replace #fefefe with red and you get this.
@PierreRambaud It's gonna be fun reproducing this 馃槃 馃槃
@khouloudbelguith @ngodefroy The lines are perfectly visible on iPhone XS or 11 Pro with max brightness.
@Hlavtox, could you please provide me a screenshot about your Images generation options
settings.
Thanks!
IMO it looks like an issue in the GD library. I found other people having similar problems and this open bug in libgd. I don't think we can do anything about it.
@eternoendless What if we move to Imagick? It is avaialble on 9/10 (if not all) PHP installs.
@Hlavtox We are also able to manage both. If Imagick is available use it, otherwise use the gd library
Hi @PrestaShop/prestashop-core-developers,
We need to close this issue or we can add it to the debug roadmap?
Thanks!
I add the label To Do :+1:
We are also able to manage both. If Imagick is available use it, otherwise use the gd library
@PierreRambaud Unless I'm mistaken, that's not the current behavior. So if it's a feature request, that should be expressed in a new issue. This bug can't and won't be fixed by us.
Most helpful comment
I add the label To Do :+1: