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 KAA26468; Sat, 26 Jul 2003 10:58:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA31039 for ; Sat, 26 Jul 2003 10:58:22 +0200 (MET DST) Received: from th23.opsion.fr (th23.opsion.fr [62.39.122.33]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id h6Q8wMT07962 for ; Sat, 26 Jul 2003 10:58:22 +0200 (MET DST) Received: from 81.57.130.154 [81.57.130.154] by th23.opsion.fr id 200307260854.39e8; Sat, 26 Jul 2003 08:54:58 GMT Message-ID: <001701c35354$33c62dd0$9a823951@Pif> From: "Nicolas Janin" To: "SooHyoung Oh" , "Matt Gushee" , References: <20030724042004.GH441@swordfish> <003001c35316$75f8a040$fe00a8c0@hama> Subject: [Caml-list] Re: Date: Sat, 26 Jul 2003 10:59:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 x-mailer:99 0.00:01 all--:01 arc:99 ocamlplot:01 api:01 camlimages:01 englewood:01 manure:01 ignores:01 --lao:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk It would be interesting to know how many people are directly interested by such a project (provided that many people won't say they are interested, but will eventually use such a library when it is in a mature state). ----- Original Message ----- From: "SooHyoung Oh" To: "Matt Gushee" ; Sent: Saturday, July 26, 2003 3:41 AM > Subject: Re: [Caml-list] Graphics frustration > Date: Sat, 26 Jul 2003 10:37:20 +0900 > MIME-Version: 1.0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2600.0000 > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > X-Loop: caml-list@inria.fr > X-Spam: no; 0.00; caml-list:01 gushee:01 mgushee:01 havenrock:01 all--:01 arc:99 ocamlplot:01 api:01 camlimages:01 englewood:01 manure:01 ignores:01 --lao:01 merel:01 bug:01 > Sender: owner-caml-list@pauillac.inria.fr > Precedence: bulk > > > What do you think about SVG (Selective Vector Graphics)? > It uses only text for graphics as postscript so it's not difficult to use > OCaml for SVG. > If you interested about that, I'll send you a few examples. > > --- > SooHyoung Oh > ----- Original Message ----- > From: "Matt Gushee" > To: > Sent: Thursday, July 24, 2003 1:20 PM > Subject: [Caml-list] Graphics frustration > > > > Hello, all-- > > > > I have been working on an application which will generate on-the-fly > > graphics for the Web, but I have become very frustrated by the > > limitations of the available graphics libraries for OCaml. If anyone > > reading this thinks there are solutions I have overlooked, I would be > > happy to discuss details. Right now, though, my purpose is to find out > > whether others share my concerns, and how much interest there is in > > developing better graphics libraries. > > > > What I would like to see is a single library with at least the > > following capabilities: > > > > * drawing primitives: line, rectangle, ellipse and/or arc, perhaps > > bezier curves > > > > * rendering text with arbitrary Type 1 and/or TrueType fonts > > > > * antialiasing > > > > * basic image manipulation functions such as transformations, > > contrast adjustment, cropping, etc. > > > > * saving to common bitmap formats such as JPEG and PNG > > > > * cross-platform > > > > taking the various graphics packages together, all these capabilities > > exist, but as far as I can tell there is no single package that combines > > them all. So, in developing my application, I started out with > > OCamlPlot, but discovered that it > > > > - doesn't do antialiasing > > > > - uses only 2 or 3 built-in fonts for PNG output > > > > - has a rather rigid and idiosyncratic API > > > > - doesn't run on Windows > > > > Then I decided to try MLgraph + Camlimages, which is an improvement, but > > still falls short: MLgraph is excellent for drawing, but saves only to > > PostScript--and I find the final result, converted to PNG with > > CamlImages, rather unsatisfactory (the main problem is that antialiasing > > doesn't work very well, which may actually be a Ghostscript issue). > > Performance with this combination is also markedly poorer than with > > OCamlPlot. > > > > Then there's OCamlGD, which seems quite promising. When complete, it > > will probably satisfy all my requirements; but there hasn't been a > > relesase in quite a while. > > > > So that's a quick summary of my situation. Do others agree with me that > > this is a significant problem? Are there any good solutions in the > > works? > > > > I am happy, by the way, to put some effort into developing something > > better. My contribution would be limited, though (I'm not a C > > programmer, for example, so I wouldn't be able to create a wrapper for > > an existing C library.). > > > > Comments? > > > > -- > > Matt Gushee When a nation follows the Way, > > Englewood, Colorado, USA Horses bear manure through > > mgushee@havenrock.com its fields; > > http://www.havenrock.com/ When a nation ignores the Way, > > Horses bear soldiers through > > its streets. > > > > --Lao Tzu (Peter Merel, trans.) > > > > ------------------- > > 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 > > > > ------------------- > 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 > _____________________________________________________________________ > Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger > http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France ------------------- 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