We are about to switch to a new forum software. Until then we have removed the registration on this forum.
PImage canvas;PImage paint;
void settings(){
selectInput("Please select canvas:", "selectImage");
interrupt();
println("dog",input,"dog");
canvas = loadImage(input);
size(canvas.width, canvas.height);
noSmooth();}
Posted this as a bug they are saying that I am doing it wrong.....but works fine in 3.1 https://github.com/processing/processing-docs/issues/436
If there a better way of doing this???image is loaded....github seems very chaotic...like fixing one thing often messes up other stuff.
Answers
I don't have specifically P3.1, but P3.1.1 & P3.0.2.
I've done a more complete example below.
It works for P3.0.2, but fails for P3.1.1! ~X(
yes I remember that processing was changed so you could do this and then they changed it back....thanks for the info.
private
field sketchPath wasn't initialized yet.https://GitHub.com/processing/processing/issues/4529