MCPcopy Create free account
hub / github.com/benfry/processing4 / resize

Method resize

core/src/processing/core/PImage.java:502–505  ·  view source on GitHub ↗

Resize the image to a new width and height. To make the image scale proportionally, use 0 as the value for the wide or high parameter. For instance, to make the width of an image 150 pixels, and change the height using the same proportion, use resize(150, 0) . Even t

(int w, int h)

Source from the content-addressed store, hash-verified

500 * @see PImage#get(int, int, int, int)
501 */
502 public void resize(int w, int h) { // ignore
503 //throw new RuntimeException("resize() not implemented for this PImage type");
504 ShimAWT.resizeImage(this, w, h);
505 }
506
507
508 //////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

resizeImageMethod · 0.95

Tested by

no test coverage detected