GNU bug report logs -
#37153
26.1; some png images scrambled on Windows
Previous Next
Full log
View this message in rfc822 format
> Date: Fri, 23 Aug 2019 22:17:58 -0500
> From: "Roland Winkler" <winkler <at> gnu.org>
> Cc: 37153 <at> debbugs.gnu.org
>
> The problem with my test png image is that it has transparent parts
> that need to be displayed with a light color so that one can
> recognize the nontransparent dark parts. But the image uses fully
> transparent black as background. The behavior in such a case is not
> strictly defined by the png standard, see
>
> https://sourceforge.net/p/png-mng/mailman/message/36747189/
>
> Emacs displays such fully transparent background with its original
> color specified by the image. But I believe it would make more
> sense if emacs used instead a background color that the user can
> choose (the background color of the frame), similar to, for example,
> eog.
Please take a look at image.c in the PNG area: it includes quite a few
references to "transparent" and what we should be/are doing with that.
> Should I submit a separate feature request for this?
I don't think I understand the feature you want to request. Please
don't forget that the same PNG image can be displayed on places that
have different background colors. I also don't think I see the use
cases for such images in Emacs.
This bug report was last modified 3 years and 109 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.