We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello everyone!
I'm currently writing a program in which I need to save half of the program's frame to an image when the user clicks. Using saveFrame() I've got it saving the whole image (as it is expected with that method). Is there any way to set pixel boundaries when saving a frame?
Thanks in advance!
Answers
You can use the
get(x, y, w, h)
function to create aPImage
from only part of the screen, and then save thatPImage
to a file.Worked perfectly! Thank you so much!!