From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Howard Newsgroups: gmane.emacs.help Subject: Re: Elisp: Generating Image Files Date: Sat, 20 May 2017 07:35:32 -0800 Message-ID: <7fe66dfc-8b1d-d123-ac15-2505cedd2e0b@qlfiles.net> References: <03f9204b-6298-2a29-ec35-90277dcc5acc@qlfiles.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495309421 29671 195.159.176.226 (20 May 2017 19:43:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 19:43:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 20 21:43:37 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCAHm-0007ZW-JL for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2017 21:43:34 +0200 Original-Received: from localhost ([::1]:35250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCAHs-0008Ih-3d for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2017 15:43:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC6Pu-0001IL-9T for help-gnu-emacs@gnu.org; Sat, 20 May 2017 11:35:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC6Pr-0000J8-69 for help-gnu-emacs@gnu.org; Sat, 20 May 2017 11:35:42 -0400 Original-Received: from mx.kolabnow.com ([95.128.36.1]:20714 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dC6Pq-0000Ii-Vl for help-gnu-emacs@gnu.org; Sat, 20 May 2017 11:35:39 -0400 X-Virus-Scanned: amavisd-new at kolabnow.com Original-Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id DF8286208B for ; Sat, 20 May 2017 17:35:35 +0200 (CEST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 95.128.36.1 X-Mailman-Approved-At: Sat, 20 May 2017 15:41:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113089 Archived-At: But that chapter are only about loading and display images, as far as I can tell. I want to generate the image itself. On 05/20/2017 06:37 AM, Emanuel Berg wrote: > Christopher Howard wrote: > >> 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? > > There is a chapter in the Elisp manual which > might help you, namely "Defining Images": > > http://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Images.html > > Also check out the parent section, "Images"! > -- https://qlfiles.net