Closed
Description
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
Labels
No labels