# I Can't export pdf

**URL:** <https://discourse.processing.org/t/i-cant-export-pdf/38013>\
**Category:** Coding Questions\
**Created:** [July 18, 2022, 2:03am UTC](https://discourse.processing.org/t/i-cant-export-pdf/38013 "2022-07-18T02:03:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 18, 2022, 7:02am UTC](https://discourse.processing.org/t/i-cant-export-pdf/38013/3 "2022-07-18T07:02:14Z")

</div>

Hi and welcome

Here some hints

> [@Exporting still images from animations](https://discourse.processing.org/t/exporting-still-images-from-animations/31666/14):
>
> I have tried with this, but does not do anything float blueX; float blueY; float redX; float redY; import processing.pdf.\*; void setup() { size(500, 500, PDF, "filename.pdf"); blueX = width\*.25; blueY = height/2; redX = width\*.75; redY = height/2; background(255); frameRate(1000); } void draw() { stroke(0,0,255); strokeWeight(2); blueX += random(-2, 2); blueY += random(-2, 2); if(blueX \< 0){ blueX = width; } if(blueX \> width){ blueX = 0; …

---

_[View the full topic](https://discourse.processing.org/t/i-cant-export-pdf/38013)._
