Image processing / copy square of an image
in
Programming Questions
•
1 year ago
Hello,
I have an application where I'm drawing circles in the middle of the screen until one border is almost hit. Now I want to place several visualizations side by side. Therefore I need to cut the image based on the screen extends (because usually width > height). So I want to specify for instance a rectangle with the extends height * 0.5f, height * 0.5f from the screen center to copy the content of a PGraphics/PImage of the whole screen instance into another one.
kind regards,
Johannes
1