img = Image.new("with_pink.png")
img.save "with_pink.bmp"
img = Image.new("with_pink.bmp") # Transparency is automatically applied here.
img.save "proper_png.png"
> Of course, I wasn't actually looking up the new method, but it was probably on the screen multiple times! Does it apply in all cases, i.e. "load_tiles" and the extended "new" syntax, too?
> If so, maybe a "see also" or mention of the chroma-key effect in their descriptions would be in order?
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill