Converts a color of a particular type to completely transparent in a canvas.
The canvas to operate on.
The x-coordinate of the pixel whose color to change. 0 will be used if this parameter is undefined.
The y-coordinate of the pixel whose color to change. 0 will be used if this parameter is undefined.
The original canvas, which has been modified.
Takes an img/canvas and a scaling factor and returns the scaled image.
Generated using TypeDoc
General-purpose utilities for manipulating images in canvases.