Open ievron opened 5 years ago
The previous code turned all the non-black pixels on the RGBA motif into (255,255,255,255), i.e. white. The authors' intent was probably setting only the alpha coordinate to its maximal value (no opacity), i.e. (r,g,b,255).
The previous code turned all the non-black pixels on the RGBA motif into (255,255,255,255), i.e. white. The authors' intent was probably setting only the alpha coordinate to its maximal value (no opacity), i.e. (r,g,b,255).