We are currently using the following method to highlight a rectangle in an image:
1) crop the rectangle from a copy of the image
2) paste it with a border on the original image.
Here is an example:
We would like to highlight multiple rectangles in an image, following the above logic doesn't seems like the correct way to go (for each rectangle we will need to crop another copy of the image),
Is there a better way to achieve this goal?
Please sign in to leave a comment.