int wb_create_mask (int bitmap, int transparent_color)
Creates a transparency mask of a true-color bitmap. The mask returned is also a bitmap. The transparent color is set by transparent_color.
NOTE: The resulting image must be destroyed by a
call to wb_destroy_image().
wb_destroy_image
Image functions