aiapps
1
maybe it depends on the version? or it didn’t work from the start?
quark
2
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
aiapps
3
yes, I know it makes sense for PImage and it works.
but this method is also available for PGraphics itself
glv
4
“Follow the white rabbit.”
— Alice in Wonderland & Morpheus in The Matrix
Source code has a comment about this:
:)
2 Likes