Does anyone by chance have an example of generating an animated graphic directly into a PDF report?
I know it's possible and can manually insert one via InDesign or automated in R via gganimate but looking to see if I can stay within my SAS processes.
Doesn't this or this (page 11) work?
Here's an example that's a bit over the top, but definitely a possibility. Open the PDF in Adobe not a different PDF viewer.
I think this example is using JS behind the scenes.
Very interesting, thank you.
Why would someone write a paper describing a process that doesn't work? Sigh..
I guess this feature is but a new entry to be added in the sasware ballot for now.
I suspect it's a matter of embedding an image within the PDF with the correct options. So creating a GIF or MOV file and then somehow embedding that within a PDF. I know we can add/embed images, so just not sure what settings I may need to embed that specifically. I was hoping someone had already figured it out but I guess I can
A variation of embedding images in a title or some other object might work.
I tried the method given in @Cynthia_sas message to embed a GIF in a PDF document. It worked, but the resulting image wasn't animated.
Hi:
My understanding of PDF was that graphs were converted to an internal image format. I don't know what happens with animated graphics. However, I found this:
It does look like you have to convert the GIF into a MOV. I don't think SAS will do that, so you might have to take the animated GIF from SAS and do something with it with a 3-rd party product to make it a MOV.
Cynthia
So if we had a mov graphics driver it night work? One for R&D @Jay54?
Or JS takes care of displaying the single images in turn.
I usually export the SAS animation as a GIF. Then convert the GIF to a movie file with a free converter online. Then use Adobe Pro to insert the animation (movie file) into the PDF. This is similar to @Reeza's suggestion.
Many thanks,
Kriss
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.