Output formats

The native output format of ctioga is PDF. Nearly all the images you’ll find on this website are converted from PDF using ImageMagick convert.

In addition to that, ctioga supports two other output formats.

EPS output

With the --eps option, the LaTeX file is processed with LaTeX rather than pdfLaTeX, and then converted from dvi to postscript using dvips.

PNG output

With the --png output, you can ask ctioga to produce a PNG file of the given size:

ctioga --png 600x400 --math 'sin(x)'

This command-line produces a PDF file of 600 by 400 postscript points and uses convert from ImageMagick to create a 600x400 PNG file. You can tune the look (and conversion time) with the --png-oversampling option (that decides at which size the PDF will be rendered by convert).