django-resized icon indicating copy to clipboard operation
django-resized copied to clipboard

Problem with JPEG conversion if there is an alpha channel on the origin image

Open RRaideRR opened this issue 3 years ago • 1 comments

Hey guys,

I'm a huge fan of your work - very much appreciated. However, I have noticed in the past, that the conversion from a transparent PNG to a JPG can change the picture in unwanted ways because transparent pixels can have unpredictable colours. Please also have a look at this comment which suggests a solution using Pillow: https://github.com/python-pillow/Pillow/issues/2609#issuecomment-313922483

Is there any chance that this will be fixed?

RRaideRR avatar Jan 08 '21 13:01 RRaideRR

Hi,

If there is a PR I'll gladly review and merge it, but I unfortunately don't have the time to do it myself right now.

Gagaro avatar Jan 27 '21 13:01 Gagaro