Skip to content

Resizing this particular image takes forever #5

Closed

Description

@teo1978
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

  1. boubpopsyteam commented on Feb 27, 2013

    @boubpopsyteam
    Contributor

    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).

  2. added a commit that references this issue on Jun 12, 2014
  3. benfry commented on Jul 31, 2014

    @benfry
    Contributor

    Takes a few milliseconds with the current version; may have just been a Java bug.

  4. added a commit that references this issue on Nov 15, 2014
  5. added a commit that references this issue on Nov 18, 2014
  6. github-actions commented on Jun 16, 2021

    @github-actions

    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.

  7. locked as resolved and limited conversation to collaborators on Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions