I have a ARGB pic (PNG) and I want to set all pixels that are not transparent to white (255,255,255,255)
what is the fastest way performance wise ?
I think it might be something like
for loop
if (pic.getRGB(x,y) == transparent) pic.setRGB(0xFFFFFFFF);
but you do you even know if a pixel is transparent ?
if the first two bytes are > 0 … ?