SOLVED? Image drop() peculiarities?

I think I’ve found bugs in the file.drop() area that produces really weird results… Lauren’s example ( https://github.com/processing/p5.js/issues/3055 ) doesn’t quite cut it, for reasons I mention in the sketch…

This sort of works, in that I can drop and image THEN grab bits out of that image with get() but you’ll see the nonsense I had to do to do that…

Anyway, I think this works and may help someone with more brains than I to find a gnarly bug…

https://editor.p5js.org/tom.smith/sketches/tLh1bT9Cq

Regards

Tom

1 Like

?

 print("Uploaded!")

i not think that is correct, the dropped image is where?

You drop an image onto the canvas

yes, and i got that message