I have a PNG loaded into a pixmap, I need to loop through it and change any pixels that are not totally transparent to being solid.
Everything I try seems to crash, I think somehow readpixel or writepixel is getting out of the application memory and windows is... less than happy about that...
Though it seems to work when I do it once, but then when I do it a second time to a different pixmap, or even the same one, it crashes...
Does anyone have a sample they can share?
Everything I try seems to crash, I think somehow readpixel or writepixel is getting out of the application memory and windows is... less than happy about that...
Though it seems to work when I do it once, but then when I do it a second time to a different pixmap, or even the same one, it crashes...
Does anyone have a sample they can share?