From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Imagemagick and Guile Date: Sun, 11 Jan 2015 12:11:23 +0000 Message-ID: References: <54B23DB0.8080406@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420978382 30961 80.91.229.3 (11 Jan 2015 12:13:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2015 12:13:02 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 11 13:12:54 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YAHO2-0002Q9-21 for guile-user@m.gmane.org; Sun, 11 Jan 2015 13:12:54 +0100 Original-Received: from localhost ([::1]:58057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAHO1-0001bd-5O for guile-user@m.gmane.org; Sun, 11 Jan 2015 07:12:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAHNr-0001Z4-Vc for guile-user@gnu.org; Sun, 11 Jan 2015 07:12:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAHNo-0007Vc-Oe for guile-user@gnu.org; Sun, 11 Jan 2015 07:12:43 -0500 Original-Received: from out1.ip04ir2.opaltelecom.net ([62.24.128.240]:21286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAHNo-0007UL-J9 for guile-user@gnu.org; Sun, 11 Jan 2015 07:12:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUJAGxnslROkR+vPGdsb2JhbABBGoMGUoMOT8J3hWsEAgKBBUQBAQEBAQEFAQEBATg7hA0BBAEjFR4oCwQEAxoCJgICLA0KFCEBiBsMCTe2HZMaAQsgGIEJiFCGDxaCUoFBBZdKjA+FaYQQPjEBgkIBAQE X-IPAS-Result: AtUJAGxnslROkR+vPGdsb2JhbABBGoMGUoMOT8J3hWsEAgKBBUQBAQEBAQEFAQEBATg7hA0BBAEjFR4oCwQEAxoCJgICLA0KFCEBiBsMCTe2HZMaAQsgGIEJiFCGDxaCUoFBBZdKjA+FaYQQPjEBgkIBAQE X-IronPort-AV: E=Sophos;i="5.07,737,1413241200"; d="scan'208";a="481539355" Original-Received: from host-78-145-31-175.as13285.net (HELO arudy) ([78.145.31.175]) by out1.ip04ir2.opaltelecom.net with ESMTP; 11 Jan 2015 12:12:37 +0000 Original-Received: by arudy (Postfix, from userid 33) id E431A3801D; Sun, 11 Jan 2015 12:11:23 +0000 (GMT) X-PHP-Originating-Script: 0:rcmail.php In-Reply-To: <54B23DB0.8080406@openmailbox.org> X-Sender: neil@ossau.homelinux.net User-Agent: Roundcube Webmail/0.9.5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.24.128.240 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11738 Archived-At: On 2015-01-11 09:09, A0 wrote: > I need to generate an image from raw byte data in my code and > ImageMagick seems like an obvious choice to do this. But, looking > at > http://www.imagemagick.org/script/api.php , > I see no Guile API listed. > > Before I get my hands dirty, I'd like to check if someone already > built a functional API for Guile, or, at least, the chunk of it > containing the PixelIterator functionality. > > I am also interested in hearing about other Guile-enabled libs > that can do the same thing, namely, creating an image in some > of the popular formats. In addition to the other suggestions that people have made, note that you could also use the Guile FFI to access ImageMagick's C API from Guile. Personally, I find using the FFI much more fun than writing a 'proper' Guile binding. Regards, Neil