| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="331Plotextensionmodules.html">
|
|
|
8 |
<LINK REL="Next" HREF="35DetailedstepstoinstallJpGraph.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="331Plotextensionmodules.html">Previous</A>
|
|
|
26 |
<A HREF="35DetailedstepstoinstallJpGraph.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H2><A NAME="3_4">3.4 Image formats and external image libraries</A></H2>
|
|
|
29 |
<P> Per default the standard GD image library supports PNG graphic
|
|
|
30 |
formats. You will need to have that installed together with your PHP
|
|
|
31 |
module for this library to work at all. Please refer to PHP
|
|
|
32 |
documentation on specifics. Note that the newer versions of GD does not
|
|
|
33 |
support the GIF format due to copyright problems. Hence by default only
|
|
|
34 |
PNG is supported.</P>
|
|
|
35 |
<P> If you want JPEG support you will also need an additional library
|
|
|
36 |
for PHP, again please see PHP documentation for specifics. For most
|
|
|
37 |
practical purposes PNG is a better format since it normally achieves
|
|
|
38 |
better compression then GIF (typically by a factor of 2 for the types
|
|
|
39 |
of images generated by JpGraph). In comparison with JPEG format PNG is
|
|
|
40 |
also better for the type of images generated by this library. So, the
|
|
|
41 |
bottom line is, you should have a very good reason to choose any other
|
|
|
42 |
format then PNG.</P>
|
|
|
43 |
<P> By default the image format is set to "auto". This means that
|
|
|
44 |
JpGraph automatically chooses the best available graphic using the
|
|
|
45 |
preferred order "PNG", "GIF", "JPG".</P>
|
|
|
46 |
<P></P>
|
|
|
47 |
<HR NOSHADE>
|
|
|
48 |
<A HREF="toc.html">Contents</A>
|
|
|
49 |
<A HREF="331Plotextensionmodules.html">Previous</A>
|
|
|
50 |
<A HREF="35DetailedstepstoinstallJpGraph.html">Next</A>
|
|
|
51 |
</BODY>
|
|
|
52 |
</HTML>
|