From: Michel Quercia <quercia@cal.enst.fr>
To: caml-list <caml-list@inria.fr>
Cc: ups-info <ups-info@enst-bretagne.fr>
Subject: Graphx library
Date: Mon, 11 Aug 1997 15:22:08 +0200 [thread overview]
Message-ID: <33EF1200.697B69B2@cal.enst.fr> (raw)
English translation below.
------------------------------------------------------------------------------
[graphx] est une petite bibliothèque conçue pour fonctionner au dessus
de [libgraph] et permettre d'enregistrer l'image courante
dans un fichier (ou l'envoyer dans un tuyau sous Unix). Le fichier
obtenu peut être édité, inclus dans un rapport ou simplement imprimé.
Les formats de sortie gérés sont :
Postscript encapsulé :
pour l'impression directe sur une imprimante postscript ou à
travers
un interpréteur postscript tel que [ghostscript], ainsi que
l'inclusion
dans un document TeX/LaTeX à l'aide des paquetages [psfig/epsfig].
Macros pstricks :
pour l'inclusion dans un document TeX/LaTeX avec le paquetage
[pstricks].
Le fichier produit est un fichier TeX complet, retirer les
commandes
[\input] et [\bye] avant inclusion.
FIG-3.2 :
pour l'édition à la souris avec le programme [xfig] (disponible
uniquement sous Unix à ma connaissance). Le dessin peut ensuite
être exporté sous divers formats, en particulier le format
postscript
encapsulé, avec le logiciel [transfig].
Targa 24 bits :
pour l'affichage et l'impression à condition de disposer des
logiciels
nécessaires, [xv] ou [tgatoppm] et [ppmtops] du paquetage [netpbm]
par
exemple.
Portable Pixmap 24 bits :
Comme ci-dessus, en court-circuitant la conversion [tga] -> [ppm].
Vous pouvez générer du ppm-"ascii" (chaque pixel est codé par
trois
nombres décimaux) ou du ppm-"binaire" (chaque pixel est codé par
trois
octets, format moins portable, mais grosso-modo quatre fois moins
encombrant). Si vous disposez des outils [netpbm], vous pouvez
convertir
le fichier ppm en GIF, ce qui divise la taille du fichier final
par 10.
La bibliothèque a été testée avec succès sous Linux avec caml-light 0.73
et
objective caml 1.05, et superficiellement sous Windows-95 avec camlwin
0.72
et ocamlwin 1.05. Elle est disponible en ftp anonyme à l'URL suivant :
ftp://ftp.ac-dijon.fr/\carnot1\info\graphx.tgz
------------------------------------------------------------------------------
[graphx] is a small library designed to work on top of
[libgraph] and provide functions to save the current
picture on a file (or through a pipe on unix systems) for hand
editing, including in reports, or just printing. It can output the
picture in the following formats :
Encapsulated Postscript :
suitable for direct printing on a postscript device or through
a postscript interpretor such as [ghostscript], and for
inclusion in a TeX/LaTeX document with the [psfig/epsfig]
packages.
Pstricks macros :
suitable for inclusion in a TeX/LaTeX document with the
[pstricks] package. The output file is a standalone TeX
file, you'll have to remove the [\input] and [\bye]
commands before inclusion.
FIG-3.2 :
suitable for mouse editing with the [xfig] program (available
only on unix systems as far as I know). The file can then be
translated
to various graphic formats, including encapsulated postscript,
with
the [transfig] software.
24 bits Targa :
suitable for screen previewing, and for printing provided you have
the necessary software, [xv] or [tgatoppm] and [ppmtops]
from the [netpbm] package for example.
24 bits portable pixmap :
same as above, you just spare the [tga] -> [ppm] conversion phase.
You can either generate ``ascii''-ppm (each pixel in encoded as
three decimal numbers) or ``binary''-ppm (each pixel is encoded as
three bytes, less portable but roughly four times more compact).
If you have the [netpbm] tools, you can turn the ppm file
into GIF, which may reduce the final file size by a factor of 10.
The library has been successfully tested on Linux with caml-light 0.73
and
objective caml 1.05, and superficially tested on Windows-95 with camlwin
0.72
and ocamlwin 1.05. You can download it through anonymous ftp at the URL
:
ftp://ftp.ac-dijon.fr/\carnot1\info\graphx.tgz
--
Michel Quercia
Lycee Carnot 16 bd Thiers 21000 Dijon
mailto:quercia@cal.enst.fr
reply other threads:[~1997-08-25 9:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33EF1200.697B69B2@cal.enst.fr \
--to=quercia@cal.enst.fr \
--cc=caml-list@inria.fr \
--cc=ups-info@enst-bretagne.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox