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] Graphics without open_graph?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: José Manuel Nunes <Jose.deAbreuNunes@a...>
Subject: Re: [Caml-list] Graphics without open_graph?
On Thu, 2002-05-02 at 14:36, Gerd Stolpmann wrote:
> ...
> > I guess that you want to use drawing functions (lines, circles...) 
> > available inside Graphics, without opening the graphic window, and
> > obtain results as some graphic file format.
> > 
> > If my guess is correct, unfortunatelly, the drawing function of the
> > Graphics library highly depends on those of the window system (X on
> > Unix, for example). Using these functions without windowing systems is
> > impossible at this moment.
> One way out would be a virtual X11 server that is not connected to any
> hardware device but has a "screen" that only exists in memory (e.g.
> A quick test shows that it really
> works:
Thanks a lot!
There is even a convenient script xvfb-run (at least on debian) that
allows a command to be run inside such a X virtual server.

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