Replies: 1 comment 5 replies
-
I forget about this also, and will use I'm up for improving the documentation, but what should the two |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've known for a long time that if you call
get_pixels()
with the position and dimensions of a rectangle it will return a Py5Image with that region's content. But somehow I keep forgetting it and doing convoluted stuff, like creating a new image and using thecopy()
method... I wonder if we could help people who want to grab a part of a bigger image to be reminded of the simpler option (that is, usingget_pixels()
) by adding a link to the other method's pages...Beta Was this translation helpful? Give feedback.
All reactions