raspberrypi / scratch

Scratch releases
79 stars 21 forks source link

PNG image imports into Painter lose transparency #208

Closed timrowledge closed 8 years ago

timrowledge commented 8 years ago

See also #17 When painting a new sprite costume we can import images from disk; unfortunately transparent pixels get left as white. Looks like this is related to #17 and the way some outside applications insist on writing a transparent pixel as alpha-0 white. Very bad practice but widespread.

timrowledge commented 8 years ago

Best work-around is to use the same fix as #17 - after loading the image, post-process it to clear any transparent pixels. Fixed in NuScratch-tpr.360 for sept '16 release