# Exporting still images from animations

**URL:** <https://discourse.processing.org/t/exporting-still-images-from-animations/31666>\
**Category:** Coding Questions\
**Created:** [August 10, 2021, 5:34pm UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666 "2021-08-10T17:34:42Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [August 13, 2021, 2:48pm UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666/22 "2021-08-13T14:48:02Z")

</div>

Print statment didn’t solve it, the exported pdf is still this small and empty file, like the file that I got ![frame-2397](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/39fd4a4df7214f2332b79ca077efd5d21f56dc1f.jpeg)  
Do you know why?

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 15, 2021, 5:45pm UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666/23 "2021-08-15T17:45:21Z")

</div>

@humano

Watch this

[https://funprogramming.org/145-Export-animation-frames-convert-to-animgif-using-gifsicle.html](https://funprogramming.org/145-Export-animation-frames-convert-to-animgif-using-gifsicle.html)

---

<div class="post-metadata">

**Author:** ![humano](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@humano](https://discourse.processing.org/u/humano)\
**Post date:** [August 16, 2021, 11:56pm UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666/24 "2021-08-16T23:56:30Z")

</div>

Thank you so much, but I have not made work instructions from first tutorial, ([https://processing.org/reference/libraries/](https://processing.org/reference/libraries/)) so It is not possible for me to start with another one.

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 18, 2021, 11:17am UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666/25 "2021-08-18T11:17:40Z")

</div>

> [@humano](#):
>
> Print statment didn’t solve it, the exported pdf is still this small and empty file, like the file that I got ![frame-2397](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/39fd4a4df7214f2332b79ca077efd5d21f56dc1f.jpeg)  
> Do you know why?

I did not present a solution.

I explained _why_ in a previous post in this topic:

> [@glv](#):
>
> You are ending the PDF record after a loop count of zero so you have only one loop displayed in the frame and that is what you record.
> 
> I added a print statement so you can see this.

Give consideration to where you beginRecord() and endRecord().

`:)`

[Previous page](https://discourse.processing.org/t/exporting-still-images-from-animations/31666.md?page=1)
