I'm trying to render a sketch to a PDF file but I'm getting this error:
No get() for PGraphicsPDF
yeah, I'm using the get() function somewhere in my sketch, but is there another way to render vectors to a file if I'm using get() (at least that's what I'm understand from the error message).
I've searched high and low but I cant find a function that returns the original size in pixels of a PImage.
I'm loading an image using loadImage and i need to place it within a defined area but I don't want it to be distorted, so I think i need to know the original dimensions of the image to map them and place it within the desired area but keeping the original proportions (width/height ratio).