* [Caml-list] Re: Bitmap acquisition with Graphics module
2002-08-19 13:45 [Caml-list] Bitmap acquisition with Graphics module Stalkern 2
@ 2002-08-19 8:35 ` Michaël Grünewald
0 siblings, 0 replies; 2+ messages in thread
From: Michaël Grünewald @ 2002-08-19 8:35 UTC (permalink / raw)
To: caml-list
Stalkern 2 <stalkern2@tin.it> writes:
> Hello to everybody.
>
> Following a recent posting on the ocaml-beginners ML, I would like to ask
> you:
>
> how can one load an external bitmap picture using the Graphics library?
I had in mind ther ewas XPM format support in the `Graphics' library, but i
am afraid there is not. I have no direct answer to your question, i only now
you should install the `Camlimages' <http://pauillac.inria.fr/camlimages/>
and check to the examples to see how to interface it with module Graphics,
and if you are interested, with lablgtk, both are possible.
> (See for instance the picture "jussieu" at
> http://caml.inria.fr/oreilly-book/html/book-ora048.html )
>
> The book says: "A bitmap may be represented by either a color matrix
> (color array array) or a value of abstract type 1 image, which is declared
> in library Graphics. " but does not say anything about acquisition.
>
> Any further hint about the image formats that can be used would be
> strongly appreciated.
>
> Thank you
> Ernesto Torresin
--
Michaël Grünewald <michael-grunewald@wanadoo.fr> - RSA PGP Key ID: 0x20D90C12
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Caml-list] Bitmap acquisition with Graphics module
@ 2002-08-19 13:45 Stalkern 2
2002-08-19 8:35 ` [Caml-list] " Michaël Grünewald
0 siblings, 1 reply; 2+ messages in thread
From: Stalkern 2 @ 2002-08-19 13:45 UTC (permalink / raw)
To: caml-list
Hello to everybody.
Following a recent posting on the ocaml-beginners ML, I would like to ask you:
how can one load an external bitmap picture using the Graphics library?
(See for instance the picture "jussieu" at
http://caml.inria.fr/oreilly-book/html/book-ora048.html )
The book says: "A bitmap may be represented by either a color matrix (color
array array) or a value of abstract type 1 image, which is declared in
library Graphics. " but does not say anything about acquisition.
Any further hint about the image formats that can be used would be strongly
appreciated.
Thank you
Ernesto Torresin
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-19 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-19 13:45 [Caml-list] Bitmap acquisition with Graphics module Stalkern 2
2002-08-19 8:35 ` [Caml-list] " Michaël Grünewald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox