Next: , Previous: pdf, Up: terminal


2.19.59.56 png (OLD)

The `png` terminal driver supports Portable Network Graphics. This old version of the png driver requires the third-party libraries "libpng" and "zlib". There is a newer png driver, with many more features, that is preferred if you have libgd version 1.8 or newer.

Syntax:

           set terminal png {small | medium | large}
                            {transparent|notransparent}
                            {picsize <xsize> <ysize>}
                            {monochrome | gray | color}
                            {<color0> <color1> <color2> ...}
     

`transparent` instructs the driver to generate transparent PNGs. The first color will be the transparent one.

        "

The defaults are `small` (fontsize) and `color`. Default size of the output is 640*480 pixel. This can be changed by the option `picsize`.

Each <color> must be of the form 'xrrggbb', where x is the literal character 'x' and 'rrggbb' are the red, green and blue components in hex. For example, 'x00ff00' is green. The background color is set first, then the border color, then the X & Y axis color, then the plotting colors. The maximum number of colors that can be set is currently 99."