Chapter 6. The PLplot Output Driver Family
Prev | Part II. Programming | Next

## Chapter 6. The PLplot Output Driver Family

Drivers which produce output files are described in this chapter. Each of the drivers has a list of options, and these may be set as outlined in the section called “Command Line Arguments”.

## The GD Driver

The GD driver produces png, jpeg, and gif images, using devices by the same name. The GD driver is unicode enabled. Text is anti-aliased, but lines and shades are not.

The available driver options are:

- optimize: Optimize PNG palette when possible

- def_black15: Define idx 15 as black. If the background is "whiteish" (from "-bg" option), force index 15 (traditionally white) to be "black"

- swp_red15: Swap index 1 (usually red) and 1 (usually white); always done after "black15"; quite useful for quick changes to web pages

- 8bit: Palette (8 bit) mode

- 24bit: Truecolor (24 bit) mode

- text: Use driver text (FreeType)

- smooth: Turn text smoothing on (1) or off (0)

Prev | Up | Next
The wxWidgets Driver (Linux, Mac OS X, Windows) | Home | The PDF Driver