Ghostscript is used from scribus for stuff like pdf export, maybe raster image export, too (to be checked)
gs takes Postscript and PDF.
Render to a PDF file
http://www.ghostscript.com/doc/current/Ps2pdf.htm - vast pdf rendering options are available
Render to PDF from Ghostscript via the PDF Output device. Its name on the gs commandline is "pdfwrite". It options are documented in Ps2pdf.htm linked above.
-dCompatibilityLevel=1.x -- PDF version
Render an image
Interesting image formats:
- PNG (different depth, with/without alpha)
- JPEG (jpeg is not supported in scribus image-export, would be nice to have for small web-files)
- XCF (native Gimp Imageformat -> http://www.ghostscript.com/doc/current/Devices.htm#XCF )