1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <title>PHPlot graphic formats test</title>
6 <link type="text/css" rel="stylesheet" href="../doc/style.css" />
10 <div class="nav"> [ <a href="../doc/index.html">Go to the index</a> ] </div>
12 <h2>PHPlot test graph form</h2>
14 <p>Use this form to test many different options of PHPlot. You can test
15 every graph type supported for any of four different data types. You can
16 tweak as you like or you can leave everything as is and press "Submit" for
17 <h2>PHPlot graphic formats test</h2>
20 This page will test which graphic formats are supported by the version of GD
21 linked into PHP. You should see at least one of the four images below.
26 <tr><td class="hdr">PNG graphics</td></tr>
29 if (! imagetypes() & IMG_PNG )
30 echo "PNG NOT ENABLED";
32 echo "<img src=\"inline_image.php?which_format=png&which_title=YES_PNG_IS_ENABLED\" />";
36 <tr><td class="hdr">JPEG graphics</td></tr>
39 if (! imagetypes() & IMG_JPG )
40 echo "JPEG NOT ENABLED";
42 echo "<img src=\"inline_image.php?which_format=jpg&which_title=YES_JPG_IS_ENABLED\" />";
45 <tr><td class="hdr">GIF graphics</td></tr>
48 if (! imagetypes() & IMG_GIF)
49 echo "GIF NOT ENABLED";
51 echo "<img src=\"inline_image.php?which_format=gif&which_title=YES_GIF_IS_ENABLED\" />";
54 <tr><td class="hdr">BMP graphics</td></tr>
57 if (! imagetypes() & IMG_WBMP)
58 echo "BMP NOT ENABLED";
60 echo "<img src=\"inline_image.php?which_format=wbmp&which_title=YES_WBMP_IS_ENABLED\" />";