webMathematica`

MSPExportImage

MSPExportImage[expr]

uses Export to save expr as an image in GIF format and return an img tag

MSPExportImage[expr,fmt]

uses Export to save expr as an image in a specified format fmt and return an img tag

Details

  • MSPExportImage is an alternative to MSPShow for creating images. It provides more features, such as support for transparent backgrounds, but can take longer to generate.

Examples

Basic Examples  (1)

You can simulate how the function works by installing and loading the package.

The argument to MSPExportImage can be any expression.

The image file is available for 60 seconds. When the example is run in Mathematica, it is placed in the temporary directory.