next up previous contents
Next: 34.49.54 Postscript Up: 34.49 Terminal Previous: 34.49.52 Pm

34.49.53 Png

The png terminal driver supports Portable Network Graphics. To compile it, you will need the third-party libraries "libpng" and "zlib"; both are available at http://www.cdrom.com/pub/png/. png has four options.

By default, the png terminal driver uses a shared Web-friendy palette.

Syntax:

     set terminal png {small | medium | large}
                      {transparent | notransparent}
                      {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.

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 colors, then the X & Y axis colors, then the plotting colors. The maximum number of colors that can be set is currently 99.


next up previous contents
Next: 34.49.54 Postscript Up: 34.49 Terminal Previous: 34.49.52 Pm
Shigeharu TAKENO
2002年 11月 16日