Is it possible to clear an image without creating a new one? With ‘clear’ I mean set all pixels to transparent.
Is it possible to clear an image without creating a new one? With ‘clear’ I mean set all pixels to transparent.
]]>
« My screen is finally taking some shape. (Previous Post)
< ![CDATA[
What about this?
var img=i.getImage(); //or whatever
var bit=img.getBitmap();
bit.eraseColor(Color.TRANSPARENT);
img.update();
]]>
< ![CDATA[
Works, thanks
Btw: big project incoming
]]>
< ![CDATA[
Waiting for it 🙂
]]>