To put a tint on an image you use the tint function followed by the image function like so:
tint(255, 0, 0);
image(img, 0, 0); //red image
But when I try to use the copy function, the tint isn’t applied as it is only ever applied to the image function:
tint(255, 0, 0);
copy(img, 0, 0, 10, 10, 50, 50, 10, 10); //The part of the image that we moved is still the color of the original image
So my question is: How do I use the copy function and still get a tinted image (or part of image)?
I think I need to somehow use the copy function on an edited image (one that looks like it has had tint() applied to it e.g. a red filter like shown above) but I don’t know what the best way to go about changing the color of the actual image is (or if that is even possible / the best thing to do).
Thanks in advance for any help.