From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA08267; Mon, 19 Aug 2002 15:41:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA08052 for caml-list@pauillac.inria.fr; Mon, 19 Aug 2002 15:41:02 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA00328 for ; Mon, 19 Aug 2002 10:33:32 +0200 (MET DST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7J8XVT02074 for ; Mon, 19 Aug 2002 10:33:31 +0200 (MET DST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ghxW-0007Mg-00 for ; Mon, 19 Aug 2002 10:32:22 +0200 To: caml-list@inria.fr X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17ghxU-0007MK-00 for ; Mon, 19 Aug 2002 10:32:20 +0200 Path: not-for-mail From: "=?iso-8859-15?q?Micha=EBl_Gr=FCnewald?=" Newsgroups: gmane.comp.lang.caml.inria Subject: [Caml-list] Re: Bitmap acquisition with Graphics module Date: 19 Aug 2002 10:35:07 +0200 Organization: (none) Message-ID: <87vg675jr8.fsf@ketanu.dyndns.org> References: <200208190945.32768.stalkern2@tin.it> NNTP-Posting-Host: amontpellier-203-1-4-191.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029745940 28281 80.14.105.191 (19 Aug 2002 08:32:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2002 08:32:20 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Stalkern 2 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' 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 - 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