Skip to content

PImage.resize() not implemented in Processing 4?? #200

Closed
@processing-bot

Description

@processing-bot

Created by: jordirosa-p5

Description

The resize method for the PImage class is not implemented (yet?).

Expected Behavior

PImage.resize() has always worked, resizing the image to the size provided. Code made using previous versions stops working, the documentation in the processing reference web shows resize() as a usable method, though.

Current Behavior

Attempting to using the resize method on a PImage throws an exception, and looking at the Processing 4 code is easy to see why it's throwing it:

public void resize(int w, int h) { // ignore
throw new RuntimeException("resize() not implemented for this PImage type");
}

Steps to Reproduce

Your Environment

  • Processing version: 4.0a3
  • Operating System and OS version: macOS Big Sur
  • Other information:

Possible Causes / Solutions

Is this method going to be implemented in Processing 4?

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