/** * Large Page. * * Saves one frame as a PDF with a size larger * than the screen. When PDF is used as the renderer * (the third parameter of size) the display window * does not open. The file is saved to the sketch folder. */ import processing.pdf.*; void setup() { PImage b; b = loadImage("background.tga"); image(b, 0, 0); size(6616, 5096, PDF, "scantron.pdf"); } void draw() { background(255); stroke(0, 20); strokeWeight(20.0); line(200, 0, width/2, height); exit(); // Quit the program }