Adaptive-Images icon indicating copy to clipboard operation
Adaptive-Images copied to clipboard

prevent artefacts in white areas

Open bernhardriegler opened this issue 9 years ago • 0 comments

A similar issue described here: http://stackoverflow.com/questions/23993901/imagecopyresampled-introduces-artifacts-in-transparent-png

Although this is happening to me too, if i use a jpeg with large white areas. The result does contain grey atrifacts rgb(255,255,254), where only white rgb(255,255,255) should be.

Inverting the image before resizing and inverting it back to normal does fix the issue for me.

bernhardriegler avatar Jul 12 '16 07:07 bernhardriegler