Loading...
Logo
Processing Forum
I tried to run the code from < Library PDF Export Multiple Frames >
What it does is: "Saves one PDF document of many frames drawn to the screen. Starts the file when the mouse is pressed and end the file when the mouse is released."
When I run it, it save the final image (when the mouse is released) as a 1-page pdf containing one image.
 
So what is meant by multipleframes?
 
 

Replies(2)

It means that the cumulative result of multiple calls to draw() (each defining a frame) is drawn to the PDF, as one image.
If you want multiple pages, look at the reference of the PDF library.
OK, now I understand.
When I press the mouse, it erases the window, keeps on drawing, and on mouse release saves the drawn window into a 1-page pdf.