KNOWLEDGEBASE - ARTICLE #586

(Prism 3) How can I export bitmap or web graphics from a script?

This is extra information not in the prism 3 manual. For Prism 4 and later, use the script guide built into the script dialog. 

We added several script commands to Prism Windows 3.02-3.03 (update) that are not described in the manual. They also work in Prism Mac (and they are described in that manual). Here is the syntax of the commands used to export bitmap or web graphics from a Prism script:

TIFF
ExportTIF filename [100 | 300 | 600 | 1200] [Compress] [Monochrome]
This command allows to export graphs or layouts in TIFF format at 100, 300, 600, and 1200 dpi. Low-resolution bitmaps work great if the goal is to display the graph on the screen (for example in a web page), but are not useful if the goal is to print a high-quality page. Choose a higher resolution bitmap if you plan to print the resulting graph. You may also make the image compressed or/and monochrome.
Example: ExportTIF figure3.tif, 600, compress

BMP
ExportBMP filename [100 | 300 | 600 | 1200]
This command allows to export graphs or layouts in BMP format at 100, 300, 600, and 1200 dpi. Low-resolution bitmaps work great if the goal is to display the graph on the screen (for example in a web page), but are not useful if the goal is to print a high-quality page. Choose a higher resolution bitmap if you plan to print the resulting graph.

PNG
ExportPNG filename
Choose a PNG file if you plan to include the graph or layout on a web page. There are no choices of resolution.

PCX
ExportPCX filename
Old picture format used by PC Paintbrush. We suggest you use other formats when possible

 

 

 

 

 

 

Nena

Explore the Knowledgebase

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.