The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 6. The PLplot Output Driver Family | Next

# 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:

- optimise: Optimise 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 | Home | Next
The PLplot Output Driver Family | Up | Language Bindings