unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: John Darrington <john@darrington.wattle.id.au>
To: A0 <cape.wrath@openmailbox.org>
Cc: guile-user@gnu.org
Subject: Re: Imagemagick and Guile
Date: Sun, 11 Jan 2015 13:02:57 +0100	[thread overview]
Message-ID: <20150111120257.GA14326@intra> (raw)
In-Reply-To: <54B23DB0.8080406@openmailbox.org>

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

I have done similar things using Gimp.

Gimp, as you may know, has a Scheme interface which is very similar to 
Guile, (in fact I believe Guile was forked from the Gimp interpretor).


For example to generate png files from a svg input see

http://git.savannah.gnu.org/cgit/pspp.git/tree/build-aux/svg2png

The disadvantage is that it is much slower than imagemagick

J'

On Sun, Jan 11, 2015 at 09:09:04AM +0000, A0 wrote:
     
     Hello,
     
     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.
     
     Best,
     
     A0
     

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2015-01-11 12:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11  9:09 Imagemagick and Guile A0
2015-01-11 11:07 ` Nala Ginrut
2015-01-11 12:02 ` John Darrington [this message]
2015-01-11 12:56   ` A0
2015-01-11 12:11 ` Neil Jerram
2015-01-11 12:53   ` A0
2015-01-11 16:12   ` David Pirotte
2015-01-11 12:46 ` Ludovic Courtès

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/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150111120257.GA14326@intra \
    --to=john@darrington.wattle.id.au \
    --cc=cape.wrath@openmailbox.org \
    --cc=guile-user@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).