PDFExport: Display an image background without recording it?

edited March 2018 in Questions about Code

Hi, I'm using pdfExport library to generate a multipage document. I'd like to display an image background, but I dont want it in my pdf! If I use

endRecord(); image(mybackgroundpic,0,0); beginRecord(pdf);

it works, but I loose the previous pages... Any tip? Thanks!


  • Just found a solution! It works in my case.

    image(mybackgroundpic,0,0); pdf.background(255);

Sign In or Register to comment.