Meet gdpen, a new “pen” program. gdpen converts vplot files to PNG or JPEG, or GIF graphics formats (including animated GIFs). Use it like this:

gdpen < file.vpl > file.png


gdpen type=jpeg < file.vpl > file.jpg


gdpen type=gif < file.vpl > file.gif

Other usual options are available.
gdpen requires the GD library at the compilation time.
Several other “pens” are under development:

  • cairopen – for outputting standard vector-graphics formats
  • svgpen – for outputting SVG directly
  • pdfpen – for outputting PDF directly
  • gtkpen/oglpen – for displaying plots on a screen (as a replacement for xtpen)