<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/f88eddb20d9f236f8dd7a6520934210a"
  from="Nicolas Janin &lt;Ninja40@i...&gt;"
  author="Nicolas Janin"
  date="2003-07-26T08:58:25"
  subject="[Caml-list] Re: "
  prev="2003/07/0c8511a24573c54fb82b2c72c5bb14b8"
  next="2003/07/3efc0b8ed93aaf555ae070c71afdf206"
  prev-in-thread="2003/07/0c8511a24573c54fb82b2c72c5bb14b8"
  prev-thread="2003/07/f90a8a17360dae1f3d044706aa82754d"
  next-thread="2003/07/3b506b7bfe65dffafe21cc955de37f7a"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Graphics frustration">
<msg 
  url="2003/07/d9552a523f855e9aec83425fe88835cb"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-07-24T04:20:09"
  subject="[Caml-list] Graphics frustration">
<msg 
  url="2003/07/7641ec02def276cf16d1a0b8ad7516ee"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-07-24T12:03:04"
  subject="Re: [Caml-list] Graphics frustration">
<msg 
  url="2003/07/255fe226601684ba4b1d93c50a9288f3"
  from="Matt Gushee &lt;matt@g...&gt;"
  author="Matt Gushee"
  date="2003-07-26T04:21:52"
  subject="Re: [Caml-list] Graphics frustration">
<msg 
  url="2003/07/4ba9587cab5f586022bd05fe430dfdd2"
  from="Alexander V. Voinov &lt;avv@q...&gt;"
  author="Alexander V. Voinov"
  date="2003-07-26T04:34:27"
  subject="Re: [Caml-list] Graphics frustration">
</msg>
</msg>
</msg>
<msg 
  url="2003/07/bc3f5ef6632a216f6fee0f24d33bb3f5"
  from="SooHyoung Oh &lt;shoh@d...&gt;"
  author="SooHyoung Oh"
  date="2003-07-26T01:37:22"
  subject="Re: [Caml-list] Graphics frustration">
<msg 
  url="2003/07/7a76aad66f95ddba57904fe884fec3da"
  from="SooHyoung Oh &lt;shoh@d...&gt;"
  author="SooHyoung Oh"
  date="2003-07-26T01:55:17"
  subject="Re: [Caml-list] Graphics frustration">
</msg>
<msg 
  url="2003/07/0c8511a24573c54fb82b2c72c5bb14b8"
  from="Nicolas Janin &lt;Ninja40@i...&gt;"
  author="Nicolas Janin"
  date="2003-07-26T08:45:18"
  subject="[Caml-list] Re: Graphic frustration">
</msg>
<msg 
  url="2003/07/f88eddb20d9f236f8dd7a6520934210a"
  from="Nicolas Janin &lt;Ninja40@i...&gt;"
  author="Nicolas Janin"
  date="2003-07-26T08:58:25"
  subject="[Caml-list] Re: ">
</msg>
</msg>
</msg>
</thread>

<contents>
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" &lt;shoh@duonix.com&gt;
To: "Matt Gushee" &lt;mgushee@havenrock.com&gt;; &lt;caml-list@pauillac.inria.fr&gt;
Sent: Saturday, July 26, 2003 3:41 AM


&gt; Subject: Re: [Caml-list] Graphics frustration
&gt; Date: Sat, 26 Jul 2003 10:37:20 +0900
&gt; MIME-Version: 1.0
&gt; Content-Type: text/plain;
&gt; charset="iso-8859-1"
&gt; Content-Transfer-Encoding: 7bit
&gt; X-Priority: 3
&gt; X-MSMail-Priority: Normal
&gt; X-Mailer: Microsoft Outlook Express 6.00.2600.0000
&gt; X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
&gt; X-Loop: caml-list@inria.fr
&gt; 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
&gt; Sender: owner-caml-list@pauillac.inria.fr
&gt; Precedence: bulk
&gt;
&gt;
&gt; What do you think about SVG (Selective Vector Graphics)?
&gt; It uses only text for graphics as postscript so it's not difficult to use
&gt; OCaml for SVG.
&gt; If you interested about that, I'll send you a few examples.
&gt;
&gt; ---
&gt; SooHyoung Oh
&gt; ----- Original Message -----
&gt; From: "Matt Gushee" &lt;mgushee@havenrock.com&gt;
&gt; To: &lt;caml-list@pauillac.inria.fr&gt;
&gt; Sent: Thursday, July 24, 2003 1:20 PM
&gt; Subject: [Caml-list] Graphics frustration
&gt;
&gt;
&gt; &gt; Hello, all--
&gt; &gt;
&gt; &gt; I have been working on an application which will generate on-the-fly
&gt; &gt; graphics for the Web, but I have become very frustrated by the
&gt; &gt; limitations of the available graphics libraries for OCaml. If anyone
&gt; &gt; reading this thinks there are solutions I have overlooked, I would be
&gt; &gt; happy to discuss details. Right now, though, my purpose is to find out
&gt; &gt; whether others share my concerns, and how much interest there is in
&gt; &gt; developing better graphics libraries.
&gt; &gt;
&gt; &gt; What I would like to see is a single library with at least the
&gt; &gt; following capabilities:
&gt; &gt;
&gt; &gt;   * drawing primitives: line, rectangle, ellipse and/or arc, perhaps
&gt; &gt;     bezier curves
&gt; &gt;
&gt; &gt;   * rendering text with arbitrary Type 1 and/or TrueType fonts
&gt; &gt;
&gt; &gt;   * antialiasing
&gt; &gt;
&gt; &gt;   * basic image manipulation functions such as transformations,
&gt; &gt;     contrast adjustment, cropping, etc.
&gt; &gt;
&gt; &gt;   * saving to common bitmap formats such as JPEG and PNG
&gt; &gt;
&gt; &gt;   * cross-platform
&gt; &gt;
&gt; &gt; taking the various graphics packages together, all these capabilities
&gt; &gt; exist, but as far as I can tell there is no single package that combines
&gt; &gt; them all. So, in developing my application, I started out with
&gt; &gt; OCamlPlot, but discovered that it
&gt; &gt;
&gt; &gt;   - doesn't do antialiasing
&gt; &gt;
&gt; &gt;   - uses only 2 or 3 built-in fonts for PNG output
&gt; &gt;
&gt; &gt;   - has a rather rigid and idiosyncratic API
&gt; &gt;
&gt; &gt;   - doesn't run on Windows
&gt; &gt;
&gt; &gt; Then I decided to try MLgraph + Camlimages, which is an improvement, but
&gt; &gt; still falls short: MLgraph is excellent for drawing, but saves only to
&gt; &gt; PostScript--and I find the final result, converted to PNG with
&gt; &gt; CamlImages, rather unsatisfactory (the main problem is that antialiasing
&gt; &gt; doesn't work very well, which may actually be a Ghostscript issue).
&gt; &gt; Performance with this combination is also markedly poorer than with
&gt; &gt; OCamlPlot.
&gt; &gt;
&gt; &gt; Then there's OCamlGD, which seems quite promising. When complete, it
&gt; &gt; will probably satisfy all my requirements; but there hasn't been a
&gt; &gt; relesase in quite a while.
&gt; &gt;
&gt; &gt; So that's a quick summary of my situation. Do others agree with me that
&gt; &gt; this is a significant problem? Are there any good solutions in the
&gt; &gt; works?
&gt; &gt;
&gt; &gt; I am happy, by the way, to put some effort into developing something
&gt; &gt; better. My contribution would be limited, though (I'm not a C
&gt; &gt; programmer, for example, so I wouldn't be able to create a wrapper for
&gt; &gt; an existing C library.).
&gt; &gt;
&gt; &gt; Comments?
&gt; &gt;
&gt; &gt; --
&gt; &gt; Matt Gushee                 When a nation follows the Way,
&gt; &gt; Englewood, Colorado, USA    Horses bear manure through
&gt; &gt; mgushee@havenrock.com           its fields;
&gt; &gt; http://www.havenrock.com/   When a nation ignores the Way,
&gt; &gt;                             Horses bear soldiers through
&gt; &gt;                                 its streets.
&gt; &gt;
&gt; &gt;                             --Lao Tzu (Peter Merel, trans.)
&gt; &gt;
&gt; &gt; -------------------
&gt; &gt; To unsubscribe, mail caml-list-request@inria.fr Archives:
&gt; http://caml.inria.fr
&gt; &gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
&gt; http://caml.inria.fr/FAQ/
&gt; &gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
&gt; &gt;
&gt;
&gt; -------------------
&gt; To unsubscribe, mail caml-list-request@inria.fr Archives:
http://caml.inria.fr
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
http://caml.inria.fr/FAQ/
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
&gt; _____________________________________________________________________
&gt; Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
&gt; 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

</contents>

</message>

