| 1 | This is the gd gif-manipulating library, version 1.2. It was
|
|---|
| 2 | created to allow graphs, charts and the like to be generated on the
|
|---|
| 3 | fly for use on the World wide Web, but is useful for any
|
|---|
| 4 | application in which custom .GIFs are useful. It is not a paint
|
|---|
| 5 | program; it is a library. If you are looking for a paint program
|
|---|
| 6 | for the X Window System, check out David Koblas "xpaint", available
|
|---|
| 7 | by anonymous FTP from ftp.netcom.com in pub/ko/koblas. (I'm just a
|
|---|
| 8 | fan of Dave's code.)
|
|---|
| 9 |
|
|---|
| 10 | NOTE TO THE IMPATIENT: the Sun 'cc' compiler shipped
|
|---|
| 11 | standard with SunOS 4.1.3 is NOT AN ANSI C COMPILER and
|
|---|
| 12 | will not compile gd. Get and use gcc if you don't
|
|---|
| 13 | already have it, or use Sun's own commercial-grade
|
|---|
| 14 | ANSI C compiler if you prefer to purchase it.
|
|---|
| 15 | "What's new in gd 1.2?"
|
|---|
| 16 |
|
|---|
| 17 | Many bug fixes, ANSI C compliance, several new fonts and more.
|
|---|
| 18 |
|
|---|
| 19 | "Where's the manual?"
|
|---|
| 20 |
|
|---|
| 21 | Load gd.html into your web browser. Print it if you like,
|
|---|
| 22 | but <em>every single reference to a function is a hyperlink</em>,
|
|---|
| 23 | so the manual is especially good when read online! Note
|
|---|
| 24 | that the entire manual is one document, so it should be
|
|---|
| 25 | reasonably pleasant to read offline when printed.
|
|---|
| 26 |
|
|---|
| 27 | COPYRIGHT 1994,1995 BY THE QUEST CENTER AT COLD SPRING HARBOR LABS.
|
|---|
| 28 | Permission granted for unlimited use, provided that
|
|---|
| 29 | Thomas Boutell and the Quest Center at Cold Spring Harbor Labs are given
|
|---|
| 30 | credit for the library in the user-visible documentation of
|
|---|
| 31 | your software. If you modify gd, we ask that you share the
|
|---|
| 32 | modifications with us so they can be added to the
|
|---|
| 33 | distribution. See gd.html for details.
|
|---|
| 34 |
|
|---|
| 35 | gd has been compiled in various forms on all major platforms.
|
|---|
| 36 | It is happiest on a machine with 32-bit addressing and
|
|---|
| 37 | a proper stack (ie, anything running Unix, VMS, Windows NT
|
|---|
| 38 | or any other modern operating system), but is entirely
|
|---|
| 39 | usable under DOS and Windows. Note, however, that the
|
|---|
| 40 | flood-fill routines are mildly recursive and may fail on machines
|
|---|
| 41 | with tiny stack areas. Also, the fonts require a significant
|
|---|
| 42 | amount of memory (they are optimized more for speed than
|
|---|
| 43 | for size), but they need not be linked by applications that
|
|---|
| 44 | do not use them. Otherwise the code is highly
|
|---|
| 45 | portable as long as you have an ANSI C compiler.
|
|---|
| 46 |
|
|---|
| 47 | Full documentation is provided in HTML (World Wide Web) format
|
|---|
| 48 | in the file gd.html (part of this distribution). You can access the
|
|---|
| 49 | latest version of the file at the URL "http://siva.cshl.org/gd/gd.html".
|
|---|
| 50 | If you are unfamiliar with the World Wide Web, consult the Frequently
|
|---|
| 51 | Asked Questions posting of the appropriate comp.infosystems.www.browsers
|
|---|
| 52 | subgroup for your operating system to obtain
|
|---|
| 53 | more information on where to locate a hypertext browser.
|
|---|
| 54 | The text-based browser "Lynx" does a particularly good job
|
|---|
| 55 | of navigating the manual and will run on nearly anything.
|
|---|
| 56 | Netscape works fine too.
|
|---|
| 57 |
|
|---|
| 58 | If you don't have the patience to consult the manual
|
|---|
| 59 | first, build and examine gddemo.c (see the Makefile)
|
|---|
| 60 | and run it. It will read in demoin.gif and output
|
|---|
| 61 | demoout.gif, which you will want to examine with your
|
|---|
| 62 | GIF viewer to see the results.
|
|---|
| 63 |
|
|---|
| 64 | Tom Boutell, boutell@boutell.com
|
|---|
| 65 |
|
|---|
| 66 | http://sunsite.unc.edu/boutell/index.html
|
|---|
| 67 |
|
|---|
| 68 | P.O. Box 20837
|
|---|
| 69 | Seattle, WA 98102
|
|---|
| 70 |
|
|---|