From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Satya Prakash Dahal <be2020se701@gces.edu.np>
Cc: 59944@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 [thread overview]
Message-ID: <87y1rdiay0.fsf@yahoo.com> (raw)
In-Reply-To: <CAFOmjZjuu4VGJCkHzpzvEY4ndUBxKsB_QRXGe5W0s3dBwn6sxQ@mail.gmail.com> (Satya Prakash Dahal's message of "Sat, 10 Dec 2022 19:03:34 +0545")
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.
prev parent reply other threads:[~2022-12-12 2:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1rdiay0.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=59944@debbugs.gnu.org \
--cc=be2020se701@gces.edu.np \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.