Open Lora336 opened 2 years ago
@Lora336 this is more of a question about Canvas itself, so a more Canvas focused forum may be a better place to ask.
In any case, Canvas is a raster based rendering, so I don't think it's easy to just re-color an image. But, perhaps you're able to get close to your intention by using some filters: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter.
Hi, @vasturiano.
I want change my image's color. "original color" to "red". It's not about changing the image itself. change the color to only one image file.
Can I do this? (this is what I try code)
😂thank you,