GNU bug report logs - #59944
Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60

Previous Next

Package: emacs;

Reported by: Satya Prakash Dahal <be2020se701 <at> gces.edu.np>

Date: Sat, 10 Dec 2022 17:46:02 UTC

Severity: normal

Tags: confirmed

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Satya Prakash Dahal <be2020se701 <at> gces.edu.np>
Cc: 59944 <at> debbugs.gnu.org
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
Satya Prakash Dahal <be2020se701 <at> 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.




This bug report was last modified 1 year and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.