Replies: 1 comment
-
My comments below reflect what the PDF specification permits in the file format. This may or may not be supported by different implementations and will vary across platforms (esp. mobile) - which are all specific vendor/implementation issues (in the same way that not all browsers support every corner of the HTML/CSS specs). What you are talking about (animated GIFs) is really a simple form of stop motion animation, so there are various existing options:
In all cases that use PDF annotations, the static appearance on the PDF page for printing, non-interactive processing and backwards compatibility is supported by the appearance stream of the relevant annotation. Appearance streams are now explicitly required in PDF. Other concerns include ensuring that animations are made accessible to those with disabilities (so not autoplaying) and the security of the media runtime environment. Then there are also Alternate Presentations (PDF 1.4, deprecated in PDF 2.0) but I wouldn't go this path. |
Beta Was this translation helpful? Give feedback.
-
I create documentation for engineers and create PDFs from markdown. The markdown original is hosted on Github in private repositories, but I convert the markdown to a PDF and share the PDF with individuals who don't have access to our Github repos. Sometimes animations are a great way to convey some UI behavior to an engineer. This works great on Github Markdown, but it would be really cool if I could also embed the GIF in a PDF so those with the PDF get a similar experience (be able to watch an animated GIF) to those viewing the web-rendered markdown. If there is already some way to do this, please enlighten me, otherwise, it would be great for the PDF standard to support embedded animations.
🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions