English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Gdkpixbuf
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-07-01 (20:56)
From: Ketanu <ketanu@w...>
Subject: [Caml-list] Re: Gdkpixbuf
Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp> writes:

> From: Ketanu <ketanu@wanadoo.fr>
>> Does anyone know about using gdkpixbuf (from the gdk library) with objective
>> caml ? The gdkpixbuf object provides loading/saving images to many common
>> file formats, in a way usable altogether with GTK+. 
> OK, I've added some kind of support. See the new snapshot 2002-07-01.
> To enable GdkPixbuf support, you must configure with USE_GNOME=1.
> This is preliminary, but at least you can render any picture supported
> by GdkPixbuf.

I'll look around that.

> Another approach is to use the CamlImages library, which also offers
> lablgtk compatibility.  I believe it allows more fancy processing.

This approach may be very convenient, but when i used Camlimages for the
first time (2/3 monthes) i did not notice anything about lablgtk
compatibility (but with Graphics module compatibility), i just check
again http://pauillac.inria.fr/camlimages/ and i fand 

LV -- Labl image Viewer

        This is camlimages+lablgtk image viewer, like `xv', but much
        limited. It works just with True or Direct colormodels.
        No PseudoColor support. And more, it is UNDER CONSTRUCTION.

which provides example code in using camlimages with lablgtk.

Ketanu <katanu@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