truecolor

type: bool

Whether internal bitmap rendering relies on a truecolor color model or uses a color palette.

If truecolor is unset, truecolor is not used unless there is a shapefile property for some node in the graph. The output model will use the input model when possible.

Use of color palettes results in less memory usage during creation of the bitmaps and smaller output files.

Usually, the only time it is necessary to specify the truecolor model is if the graph uses more than 256 colors. However, if one uses bgcolor=transparent with a color palette, font antialiasing can show up as a fuzzy white area around characters. Using truecolor=true avoids this problem.

Valid on:
  • Graphs
Note: bitmap output only
Last modified June 26, 2021: Make attribute defaults code blocks (98194b2)