Save an image from display window coordinates

How to save an image from the display window within coordinates? (Such as x > 0 && x < 100 && y > 100 && y < 200).

Check out the get() and save() functions

Follow the examples from the processing reference.

That would save the whole display screen, I only want to save within the coordinates.

As Tony said, that’s where the get() function comes in play to get a certain section of an image.

1 Like