PDF to bytes() problem
in
Programming Questions
•
3 years ago
I'm using the PDF to Bytes code discussed here: PDF to bytes();
http://processing.org/discourse/yabb2/YaBB.pl?num=1237962559 I'm actually using the original source...without changes, on Processing 1.2.1, also tried on 1.1. I'm getting an error:
Cannot cast from PGraphics to inMemoryPGraphicsPDF.
The code was developed in an older version. What changed and how can I change the code to work in the newer versions?
Cannot cast from PGraphics to inMemoryPGraphicsPDF.
The code was developed in an older version. What changed and how can I change the code to work in the newer versions?
1