Create a transparency mask from a specified color-key.
This function sets the alpha value of every pixel matching the given color to alpha (0 by default) so that they become transparent.
Alpha value to assign to transparent pixels
See Implementation
Create a transparency mask from a specified color-key.
This function sets the alpha value of every pixel matching the given color to alpha (0 by default) so that they become transparent.