You can convert an input to a different format. See the following table for more information.
Table 10.1: Converting Images
| Service | Description |
|---|---|
.asImage() | Inserts a diagram or image, typically as a raster image. WMF/EMF images are inserted as vector images. |
.asImage('PNG') | Converts the input to a raster image. |
.asRasterImage() | |
.asImage('EMF') | Converts the image to a vector image. Useful for medini analyze diagrams. Note that this does not work for raster images. |
.asVectorImage() |