bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59944: Transparency with alpha-background doesn't work well with PNG


From: Po Lu
Subject: bug#59944: Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60
Date: Mon, 12 Dec 2022 10:59:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Satya Prakash Dahal <be2020se701@gces.edu.np> writes:

> PNG images with a transparent background are not transparent. 
> Look at the image emacs_png_bug.png on the attachment.
> This is my first bug report. If I am missing something please let me know.
> Below are the commands i used to compile the emacs.
>
> git clone https://github.com/emacs-mirror/emacs.git
> cd emacs
> ./autogen.sh
> ./configure
> ./configure --with-mailutils && make
> make install

Well, does anyone want to fix this?

It should be "as simple" as making libpng use the same code in
x_query_frame_color to allocate transparent colors.  But I have no idea
how to make libpng do that.

In the meantime, you can use XPM images for that icon instead, which are
free from this problem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]