What is the purpose of the resize() method in PGraphics if it doesn't work?

The reference to the resize method why it doesn’t work. The alternative is to create a Pimage form it first like this

Pimage img = pg.get();                // where pg is a PGraphics object
img.resize(pg.width/2, pg.height/2);  // 50% original size
1 Like