``` size(400,400); PImage img=loadImage("http://www.matteosistisette.com/upf-redes-x/php/_processing/imagenes/archivos/1359935334_582755_520232458021096_435944676_n.jpg"); img.resize(width,height); println("Done"); ``` Expected: should resize in a tiny fraction of a second, as any other image of the same size usually does. Observed: it starts consuming all CPU and takes forever. If you comment out the resize you'll see that it loads very fast. It's the resizing that hangs. Testing this in Java mode.
Activity
boubpopsyteam commentedon Feb 27, 2013
Tested in 2.0b8 seems to be as fast (or as slow) as with another image ... (around 400ms to fetch the image and around 100ms to resize it).
Workaround for processing#5, todo updates
benfry commentedon Jul 31, 2014
Takes a few milliseconds with the current version; may have just been a Java bug.
For processing-docs/#5, adding template for thread() reference
Merge pull request #5 from codeanticode/master
github-actions commentedon Jun 16, 2021
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.