Hi,

Thanks for your check, may you send me the svg file, since the svg files I checked don't show this problem.
If you read the code of src/image.c, you will find that the code do a lot of things on the svg. So more check on the svg is necessory and welcome.

Here is a simple svg file that I have checked and the other image is the screenshot on my computer (left is picture shown on kitty, right is the picture shown on emacs). Maybe you could also help check this image.

Best regards,
Zhang

Manuel Giraud <manuel@ledu-giraud.fr> 于2023年12月22日周五 16:25写道:
Hi,

Thanks for your patch.  I have lightly tested it: it does seems to work
for PNG transparency but it completely breaks SVG rendering for me.
Here is before/after example:
--
Manuel Giraud