From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
To: emacs-devel@gnu.org
Subject: NS port cannot display SVG image with transparent background
Date: Tue, 19 Jun 2018 02:07:39 +0100 [thread overview]
Message-ID: <eaf06ee2-4679-47fa-7e45-f2f17fcc3f6a@gmail.com> (raw)
I've been trying a couple of ways to render an SVG icon with a
transparent background on the NS port to no avail.
According to the ELISP manual, if `(insert-image (create-image
"/some/path/to/svg/icon" 'imagemagick :background nil))' should insert
the SVG icon into the buffer with the icon's background color set to the
frame's background color, but I get a white background on the image.
If I use rsvg, the background is no longer white but the hue is
noticably lighter than the background, so it's not really transparent.
What is the status with SVG support on the NS port?
Jimmy Yuen Ho Wong
reply other threads:[~2018-06-19 1:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=eaf06ee2-4679-47fa-7e45-f2f17fcc3f6a@gmail.com \
--to=wyuenho@gmail.com \
--cc=emacs-devel@gnu.org \
/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.