Data visualization with SAS programming

Controlling folder for PNG file output

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 129
Accepted Solution

Controlling folder for PNG file output

I would like to put all my PNG files into a given location (C:\temp\SASImages). I'm trying the following, but they end up in my work directory.

goptions reset=goptions device=png300 ;
ods graphics on / width = 20cm height=20cm border=off;
ods html gpath="c:\temp\SASImages" ;

Accepted Solutions
Solution
‎03-15-2016 10:55 PM
Respected Advisor
Posts: 4,606

Re: Controlling folder for PNG file output

I use

 

ods listing gpath="c:\temp\SASImages" image_dpi=300;
ods graphics / width=20cm height=20cm border=off 
imagename="myImage" reset=index;
PG

View solution in original post


All Replies
Solution
‎03-15-2016 10:55 PM
Respected Advisor
Posts: 4,606

Re: Controlling folder for PNG file output

I use

 

ods listing gpath="c:\temp\SASImages" image_dpi=300;
ods graphics / width=20cm height=20cm border=off 
imagename="myImage" reset=index;
PG
Post a Question
Discussion Stats
  • 1 reply
  • 200 views
  • 1 like
  • 2 in conversation