Image File Types

If you are using the LISTING, HTML, or LATEX destinations, your graphs are individually produced in a specific image file type, such as PNG (Portable Network Graphics). If you are using a destination in the PRINTER family or the RTF destination, the graphs are contained in the ODS output file and cannot be accessed as individual image files. However, you can open an RTF output file in Microsoft Word and then copy and paste the graphs into another document, such as a Microsoft PowerPoint presentation. This is illustrated in Example 21.2.

Table 21.1 shows the various ODS destinations supported by ODS Graphics, the viewer that is appropriate for displaying graphs in each destination, and the image file types supported for each destination.

Table 21.1 Destinations and Image File Types Supported by ODS Graphics

Destination

Destination Family

Recommended Viewer

Image File Types

DOCUMENT

 

Not applicable

Not applicable

HTML

MARKUP

Web browser

PNG (default), GIF, JPEG,

LATEX

MARKUP

PostScript or PDF viewer after compiling the LaTeX file

PostScript (default), EPSI, GIF, JPEG, PDF, PNG

LISTING

 

Default viewer in your system for the specified file type

PNG (default), GIF, BMP, DIB, EMF, EPSI, GIF, JFIF, JPEG, PBM, PS, TIFF, WMF

PCL

PRINTER

Not applicable

Contained in PRN file

PDF

PRINTER

PDF viewer, such as Adobe Reader

Contained in PDF file

PS

PRINTER

PostScript viewer, such as GSview

Contained in PostScript file

RTF

 

Word processor, such as Microsoft Word

Contained in RTF file

For destinations such as PDF and RTF, you can control the types of the images that are contained in the file even though individual files are not made for each image. The default image file type is PNG, and other image types are available. See the SAS Output Delivery System: User's Guide for more information.