Statistical Graphics Using ODS

Image File Types

If you are using the LISTING or HTML destination, your graphs are individually produced in a specific image file type, such as PNG. 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 24.2.

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

Table 2: 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 the LaTeX file is compiled PostScript (default), EPSI, GIF, JPEG, PDF, PNG
LISTING Default viewer in your system for the specified file type PNG (default), 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 the file contains even though individual files are not made for each image. The default image file type is PNG, and other image types are available. For more information, see the SAS Output Delivery System: User’s Guide.

Last updated: December 09, 2022