Another possibility for a simple vector file format is tgif's file format
(not ``transparent-gif''). Tgif is an X-based drawing freeware which has
been around since Apr/90. It became a ``hyper-structured-graphics''
editor/browser in its Dec/94 release. Objects (such as rectangles, ovals,
pixmaps, grouped objects, etc.) in a tgif file can have attributes such as
"href=http://...." so that when you click on them, you can hyperjump to
another URL which is also a tgif file. It also supports other attributes
such as "exec=..." which gives you java like client-side script execution.
Tgif's home page is <URL:http://bourbon.cs.ucla.edu:8001/tgif/>.
> to mention some issues I've seen discussed here: format negociation
> and CGM, for example.
>
> I'd like to see the following:
>
> 1. Some data on the web (i.e. available via HTTP, ftp, or gopher) in
> CGM format.
For tgif, its ``hyper-structured-graphics'' home page is at
<URL:http://bourbon.cs.ucla.edu:8001/tgif/index.obj>. You need to use
tgif to view it.
> 2. Some free CGM viewers, with documentation on how to use them
> as MIME viewers.
You can get tgif through the links at
<URL:http://bourbon.cs.ucla.edu:8001/tgif/current.html>. MIME related
information can be found at
<URL:http://bourbon.cs.ucla.edu:8001/tgif/mime.html>. In case you have
trouble connecting to the above server, tgif source code can be obtained
from:
ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-p12.tar.Z
ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-p12.tar.Z
ftp://bourbon.cs.ucla.edu/pub/tgif-2.16-p12.tar.Z
> 3. Software for converting CGM to GIF/JPEG, as well
> as to Postscript, configured as a translator inside
> a web server.
Tgif can output files in PS/EPS/XPM/XBM/ASCII/GIF/ISMAP formats (it
needs pbmplus/netpbm for generating GIF and ISMAP). A direct translator
into GIF/JPEG is not available. However, it is possible to generate
PS/EPS/XBM files running tgif with the -print commandline option.
> 4. A discussion of CGM authoring tools (and/or
> conversion tools)
A few tools can generate tgif files (in addition to tgif):
Pstoedit reads in a PS/EPS file and generate a tgif file.
Gnuplot and xgraph are plotting programs. These software
are available at:
ftp://ftp.x.org/contrib/applications/tgif/pstoedit/pstoedit.2.3.1.tar.gz
ftp://tesla.ee.cornell.edu/pub/xgraph.tar.Z
ftp://prep.ai.mit.edu/pub/gnu/gnuplot-3.5.tar.gz
It works on many platforms (SunOS/Solaris/Linux/HP-UX/Alpha/RS6000/Irix/...).
If you want to build it, please see the comments in its Imakefile for
suggested compile flags.
> 4. Modular web browsers that can incorporate software like
> (2) as an OpenDoc part, OLE control, Fresco object, etc.
These are not available for tgif.
> 5. libraries for processing CGM, so that even monolithic
> browsers can use CGM inline.
These are also not available for tgif at this time.
A tgif file is just a bunch of Prolog facts. Sample Prolog files are
distributed with tgif for parsing a tgif file.
-- Bill Cheng // UCLA Computer Science Department // (310) 645-8328 4667 Boelter Hall // Los Angeles, California 90024 // USA william@CS.UCLA.EDU ...!{uunet|ucbvax}!cs.ucla.edu!william WWW Home Page: <URL:http://bourbon.cs.ucla.edu:8001/william/>