I have the PNGs and the Code to Animate. See below: I need the correct path to output the animated GIF file. data my_anno1x; length function $8 imgpath $100; xsys='3'; ysys='3'; when='a'; x=0; y=0; function='move'; output; x=100; y=100; function='image'; style='fit'; imgpath="/home/u62411551/A1.png"; output; run; data my_anno2x; length function $8 imgpath $100; xsys='3'; ysys='3'; when='a'; x=0; y=0; function='move'; output; x=100; y=100; function='image'; style='fit'; imgpath="/home/u62411551/A2.png"; output; run; data my_anno3x; length function $8 imgpath $100; xsys='3'; ysys='3'; when='a'; x=0; y=0; function='move'; output; x=100; y=100; function='image'; style='fit'; imgpath="/home/u62411551/A3.png"; output; run; data my_anno4x; length function $8 imgpath $100; xsys='3'; ysys='3'; when='a'; x=0; y=0; function='move'; output; x=100; y=100; function='image'; style='fit'; imgpath="/home/u62411551/A4.png"; output; run; data my_anno5x; length function $8 imgpath $100; xsys='3'; ysys='3'; when='a'; x=0; y=0; function='move'; output; x=100; y=100; function='image'; style='fit'; imgpath="/home/u62411551/A5.png"; output; run; /* Set up the appropriate GOPTIONS */ goptions reset=all device=gif; goptions xpixels=2000 ypixels=2000; goptions cback=white gunit=pct; goptions noborder; /* Set the options for GIF animation */ options nodate nonumber; /* papersize=("7in" "5in"); */ options /* dev=sasprtc printerpath=gif */ animduration=.3 animloop=/*0*/ /*1*/ 0 animoverlay=no animate=start center; run; /* output to disk. */ ods _all_ close; ods html gpath='\home\u12345678\' (url=none) file='\home\u12345678\' style=htmlblue; /* Use multiple PROC GSLIDE steps to read the PNG graphs */ /* on disk into SAS */ goptions gsfmode=replace; /* For the first graph, gsfmode=replace */ proc gslide anno=my_anno1x des=''; run; quit; goptions gsfmode=append; /* For the rest of the images */ proc gslide anno=my_anno2x des=''; run; quit; proc gslide anno=my_anno3x des=''; run; quit; proc gslide anno=my_anno4x des=''; run; quit; proc gslide anno=my_anno5x des=''; run; quit; ods html close; ods listing;
... View more