How do I create 300 dpi images?

Cornelius Krasel krasel at
Fri Jan 9 09:59:11 EST 1998

Steven Weigand <weigansj at> wrote:
> 	I can not offer you any suggestions for Setor since I have never used
> it, but I can help you with molscript.  If you output either postscript
> or eps files from molscript, the resolution is that of the printer
> (usually >= 300dpi) since postscript files contain line drawing commands
> for the printer.  However if you make a raster3D input file and then use
> raster3D's render command

You can also circumvent the raster3d step if you have ghostscript installed.
This is a postscript interpreter which can rasterize postscript in whatever
resolution you want.

To convert a postscript file into rgb with a resolution of 300 dpi, you
would issue a command like

gs -r300 -sDEVICE=rgb -sOutputFile=bla.rgb

(Support for rgb output has to be compiled into ghostscript. You can use
 a different pixel format, however, and convert it into rgb later.)

I admit, however, that raster3d images look much more spiffy than molscript


/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004 at  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

More information about the Xtal-log mailing list