Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Building camlimages programs on deb (and linux)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-24 (18:50)
From: Matt Gushee <matt@g...>
Subject: Re: [Caml-list] Building camlimages programs on deb (and linux)
On Mon, Nov 24, 2003 at 05:34:41PM +0000, chris.danx wrote:

[ ... about troubles compiling CamlImages ... ]

I'm afraid I can't help with CamlImages, but a possible alternative is
GD4O, which is a wrapper for the GD graphics library. Since you haven't
stated your plans very specifically, it's hard to say if it will do what
you need. also, the OCaml wrapper is incomplete and I consider it to be
alpha-quality code; but when it is finished, it will be a complete
implementation of the GD API, providing a very nice set of drawing
functions and a modest set of transformation functions.

The GD API is described at:

And the following document describes which functions are currently
implemented in GD4O:

You will notice that none of the copying and resizing functions are
implemented yet, but--since they happen to be quite simple to code, and
I happen to have a little time today--I'm just going to go ahead and
implement them right now. And even if you're not interested, I don't
mind: they need to be done sooner or later anyway.

Feel free to get in touch if you have questions.

Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through           its fields;   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                            --Lao Tzu (Peter Merel, trans.)

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: