From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Elisp: Generating Image Files
Date: Fri, 26 May 2017 11:52:53 +0200 [thread overview]
Message-ID: <87bmqg0wsq.fsf@zigzag> (raw)
In-Reply-To: <03f9204b-6298-2a29-ec35-90277dcc5acc@qlfiles.net> (Christopher Howard's message of "Fri, 19 May 2017 21:20:01 -0800")
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
() Christopher Howard <christopher.howard@qlfiles.net>
() Fri, 19 May 2017 21:20:01 -0800
Hi, is there a library for Emacs that would allow me to use
elisp to generate an image file? E.g. a function that takes
an array of RBGA color values and outputs a PNG file?
I (wrote and) use xpm.el (et al):
http://www.gnuvola.org/software/xpm/
You can generate XPM and convert to PNG (or any other format).
In the source repo, see flower.el for an example program (that
shows the Code Enhancement Opportunity that lies ahead. :-D).
--
Thien-Thi Nguyen -----------------------------------------------
(defun responsep (query)
(pcase (context query)
(`(technical ,ml) (correctp ml))
...)) 748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2017-05-26 9:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-20 5:20 Elisp: Generating Image Files Christopher Howard
2017-05-20 14:37 ` Emanuel Berg
2017-05-20 15:35 ` Christopher Howard
2017-05-20 20:33 ` Yuri Khan
[not found] ` <9b5d5f09-abcc-dc92-00bc-fb498a1f69c1@qlfiles.net>
2017-05-22 17:50 ` Christopher Howard
2017-05-26 9:52 ` Thien-Thi Nguyen [this message]
2017-05-26 12:42 ` Emanuel Berg
2017-05-26 12:50 ` tomas
2017-05-26 20:46 ` Emanuel Berg
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmqg0wsq.fsf@zigzag \
--to=ttn@gnu.org \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).