Is there a way to capture just a part of the image?
Mar 27 2019 07:02 PM
Best Answer StarCrunch , 28 March 2019 - 01:42 PM
Can you be more specific about what you're trying to do? Is this a one-time thing, or regularly updated?
In the case of an image, if you know the file, its size, and such, you can just use a sprite or an image that uses a sheet. Meshes are another way to go if you need non-rectangular regions (although these use normalized--0 to 1--coordinates, rather than pixels) and / or will be changing the region in question.
A middle ground, if you don't need to keep your original object or can make a copy, is to draw it into a canvas and combine that with one of the previous techniques.