You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void dropEvent(DropEvent theDropEvent) {
if (theDropEvent.isImage()) {
PImage droppedImg = theDropEvent.loadImage();
println(droppedImg.width + " " + droppedImg.height + " " + droppedImg.pixels.length);
}
What is the expected output?
actual width and height of image.
What do you see instead?
4 4 16 (no matter the size of the image)
using:
droppedImg= loadImage(theDropEvent.filePath());
instead works as expected.
What version of the product are you using? On what operating system?
processing 1.2.1 on mac 10.6.6 with sDrop 0.1.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 12 Mar 2011 at 7:22
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 12 Mar 2011 at 7:22The text was updated successfully, but these errors were encountered: