help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elisp: Generating Image Files


From: Thien-Thi Nguyen
Subject: Re: Elisp: Generating Image Files
Date: Fri, 26 May 2017 11:52:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

() 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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]