all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59944: Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60
@ 2022-12-10 13:18 Satya Prakash Dahal
  2022-12-12  2:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 2+ messages in thread
From: Satya Prakash Dahal @ 2022-12-10 13:18 UTC (permalink / raw)
  To: 59944


[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]

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 && makemake install*

[-- Attachment #1.2: Type: text/html, Size: 1068 bytes --]

[-- Attachment #2: emacs_png_bug.png --]
[-- Type: image/png, Size: 973435 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#59944: Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60
  2022-12-10 13:18 bug#59944: Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60 Satya Prakash Dahal
@ 2022-12-12  2:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 2+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-12-12  2:59 UTC (permalink / raw)
  To: Satya Prakash Dahal; +Cc: 59944

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-12  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10 13:18 bug#59944: Transparency with alpha-background doesn't work well with PNG images on Emacs 29.0.60 Satya Prakash Dahal
2022-12-12  2:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.