If the image of the player has a continuous boundary and the color of all the pixels outside the boundary is the same,
you should be able to write code to change those pixels.
Are there any folds...