Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Ctx RBG Filter for Canvas
06-28-2013, 11:33 PM #1
- Join Date
- May 2013
- Thanked 0 Times in 0 Posts
Ctx RBG Filter for Canvas
Is there an easy way to modify the color of an image by changing the context?
Kinda like ctx.globalAlpha but for colors.
Something like this but that actually exists:
ctx.globalRBG = [32,56,156];
ctx.drawImage(myPic,0,0); //Will have different colors than normal.