Skip to main content
Participant
January 13, 2021
Question

Adobe PDF with embedded Gifs?

  • January 13, 2021
  • 2 replies
  • 6908 views

Hi there,

I am in the process of putting together a presentation PDF that requires two gifs to be embedded on some pages.

I'm wondering if this is something that can be created with an interactive PDF?

I have embedded MP4s and MP3s in the past but can't seem to apply animated Gifs.

Is anyone here able to help me?

 

Thank you!

Patti

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
October 23, 2022

Explanations:

 

In Joel's document there are 15 named icons:

 

icon[0]=Muybridge_01
icon[1]=Muybridge_02
icon[2]=Muybridge_03
icon[3]=Muybridge_04
icon[4]=Muybridge_05
icon[5]=Muybridge_06
icon[6]=Muybridge_07
icon[7]=Muybridge_08
icon[8]=Muybridge_09
icon[9]=Muybridge_10
icon[10]=Muybridge_11
icon[11]=Muybridge_12
icon[12]=Muybridge_13
icon[13]=Muybridge_14
icon[14]=Muybridge_15

 

See importIcon here: https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#importicon

 

 

In Joel's script you will find "interval.count" which is the number of frames/icons to loop.

And "interval.maxLoops" which is the number of repeats.

You can change the name of the field and the name of named icons in these lines:

var icon = this.getIcon("Muybridge_"+pad(interval.count,2));
this.getField("Muybridge").buttonSetIcon(icon);

Acrobate du PDF, InDesigner et Photoshopographe
Joel Geraci
Community Expert
Community Expert
January 13, 2021

Take a look at this example file. If it does what you want, I'll share the technique.

 

https://www.dropbox.com/s/mgo4u7s2xlqgzlz/PDF_GIF.pdf?dl=1

Participating Frequently
November 30, 2021

Hi, I posted in another thread asking pretty much this question, found here: https://community.adobe.com/t5/acrobat-discussions/i-want-to-create-a-pdf-resume-with-gifs-looping-video-and-embedded-material/m-p/12559921#M340095

Please I would love if you shared the technique of how you accomplished this. Thank YOU!

Participant
April 6, 2022

Hey Ryan, did you manage to find a solution for this? What did you do in the end ? Thanks :))