From: Iban HATCHONDO
Subject: Image file with CLX
Date: 
Message-ID: <38C526A0.C8E2338A@emi.u-bordeaux.fr>
I know the two clx functions for reading and writing some bitmap files.
But my problem is i need to read and map some pixmap files (.xpm), and
dont even find any solution to do it.
If somebody has any idea it'll be welcome. 
Thanks

From: [Invalid-From-Line]
Subject: Re: Image file with CLX
Date: 
Message-ID: <8a3jhj$bng$1@wsc10.lrz-muenchen.de>
Iban HATCHONDO (········@emi.u-bordeaux.fr) wrote:
: I know the two clx functions for reading and writing some bitmap files.
: But my problem is i need to read and map some pixmap files (.xpm), and
: dont even find any solution to do it.
: If somebody has any idea it'll be welcome. 
: Thanks

Why not call the Unix shell and use an external converter? Simple,
but works. Maybe using the foreign function interface calling
some library functions (gtk?) is more elegant, but in an application
of mine, conversion of bitmap to gif or postscript using the
shell interface was good enough to stop experimenting.

-- 
Stefan Sitter (·············@lrz.uni-muenchen.de)
Institut fuer Kinder- und Jugendpsychiatrie
Universitaet Muenchen
From: Michael Pujos
Subject: Re: Image file with CLX
Date: 
Message-ID: <38c8300f.17505887@news.worldonline.fr>
On Tue, 07 Mar 2000 16:56:16 +0100, Iban HATCHONDO
<········@emi.u-bordeaux.fr> wrote:

>I know the two clx functions for reading and writing some bitmap files.
>But my problem is i need to read and map some pixmap files (.xpm), and
>dont even find any solution to do it.
>If somebody has any idea it'll be welcome. 
>Thanks

Ah ben heureusement que je lis comp.lang.lisp moi aussi :)
Alors la solution a ton pbm iban c'est de lire ton xpm normalement
avec les fonctions de lecture de fichier  de lisp puis d'utiliser la
structure image-z (Ximage) de clx qui grosso modo contient un tablo a
2 dimension representant les pixels de ton image. Ensuite tu fais un
bon vieux put-image dans ta window et le tour et joue... 



--
Il fait bo!
From: Jochen Schmidt
Subject: Re: Image file with CLX
Date: 
Message-ID: <38CA8378.D6B9BF24@gmx.de>
Michael Pujos wrote:
> 
> On Tue, 07 Mar 2000 16:56:16 +0100, Iban HATCHONDO
> <········@emi.u-bordeaux.fr> wrote:
> 
> >I know the two clx functions for reading and writing some bitmap files.
> >But my problem is i need to read and map some pixmap files (.xpm), and
> >dont even find any solution to do it.
> >If somebody has any idea it'll be welcome.
> >Thanks
> 
> Ah ben heureusement que je lis comp.lang.lisp moi aussi :)
> Alors la solution a ton pbm iban c'est de lire ton xpm normalement
> avec les fonctions de lecture de fichier  de lisp puis d'utiliser la
> structure image-z (Ximage) de clx qui grosso modo contient un tablo a
> 2 dimension representant les pixels de ton image. Ensuite tu fais un
> bon vieux put-image dans ta window et le tour et joue...
> 
> --
> Il fait bo!

Eh boy - please write in english for msgs in this newsgroup!!!
Very very bad style...


-- 
sincerely yours,

Jochen Schmidt

···@dataheaven.de