Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

75%
+4 −0
Q&A Set number of frames per second when creating an animated png with ImageMagick

I would like to convert a pdf file into an animated png with a specific number of frames per second using ImageMagick . The example pdf file used below can be downloaded from https://mirrors.ctan....

0 answers  ·  posted 1y ago by samcarter‭  ·  edited 1y ago by samcarter‭

Question ImageMagick
#2: Post edited by user avatar samcarter‭ · 2025-06-25T12:40:13Z (about 1 year ago)
  • I would like to convert a pdf file into an animated png with a specific number of frames per second using ImageMagick .
  • The example pdf file used below can be downloaded from https://mirrors.ctan.org/macros/latex/contrib/mwe/example-image-letter-numbered.pdf
  • If I use
  • ```
  • magick example-image-letter-numbered.pdf APNG:test.png
  • ```
  • the resulting animated png will include each page of the pdf as one frame. However I would like to slow down the animation to a frame rate of one frame per second.
  • I tried with
  • ```
  • magick -delay 60 example-image-letter-numbered.pdf APNG:test.png
  • ```
  • which will produce a slowed-down animation, but each page of the pdf is now repeated for 20 frames:
  • ![Overview of all the frames of the animated png which shows that every frame is repeated 20 times](https://powerusers.codidact.com/uploads/cgfraq58c4z3flad5kjiki78qa12)
  • Is there a way to actually set the frame rate instead of just repeating the same frame multiple times, which seems to slow down the conversion quite a bit?
  • I would like to convert a pdf file into an animated png with a specific number of frames per second using ImageMagick .
  • The example pdf file used below can be downloaded from https://mirrors.ctan.org/macros/latex/contrib/mwe/example-image-letter-numbered.pdf
  • If I use
  • ```
  • magick example-image-letter-numbered.pdf APNG:test.png
  • ```
  • the resulting animated png will include each page of the pdf as one frame.
  • ![Overview of all the frames in the animated png. Each frame is only included once](https://powerusers.codidact.com/uploads/hqp2n8f8mrsdckoq5pme3lcqbwro)
  • However I would like to slow down the animation to a frame rate of one frame per second.
  • I tried with
  • ```
  • magick -delay 60 example-image-letter-numbered.pdf APNG:test.png
  • ```
  • which will produce a slowed-down animation, but each page of the pdf is now repeated for 20 frames:
  • ![Overview of all the frames of the animated png which shows that every frame is repeated 20 times](https://powerusers.codidact.com/uploads/cgfraq58c4z3flad5kjiki78qa12)
  • Is there a way to actually set the frame rate instead of just repeating the same frame multiple times, which seems to slow down the conversion quite a bit?
#1: Initial revision by user avatar samcarter‭ · 2025-06-25T12:04:22Z (about 1 year ago)
Set number of frames per second when creating an animated png with ImageMagick
I would like to convert a pdf file into an animated png with a specific number of frames per second using ImageMagick .

The example pdf file used below can be downloaded from https://mirrors.ctan.org/macros/latex/contrib/mwe/example-image-letter-numbered.pdf 

If I use

```
magick example-image-letter-numbered.pdf APNG:test.png
```

the resulting animated png will include each page of the pdf as one frame. However I would like to slow down the animation to a frame rate of one frame per second.

I tried with

```
magick -delay 60 example-image-letter-numbered.pdf APNG:test.png
```

which will produce a slowed-down animation, but each page of the pdf is now repeated for 20 frames:

![Overview of all the frames of the animated png which shows that every frame is repeated 20 times](https://powerusers.codidact.com/uploads/cgfraq58c4z3flad5kjiki78qa12)

Is there a way to actually set the frame rate instead of just repeating the same frame multiple times, which seems to slow down the conversion quite a bit?