This site requires JavaScript, please enable it in your browser!
Greenfoot back
Roshan123
Roshan123 wrote ...

2020/10/26

Color

Roshan123 Roshan123

2020/10/26

#
How to make a particular color transparent I have a colorful png and i only want to remove white color How will i do it without any background removal app (i mean using script)
danpost danpost

2020/10/26

#
Roshan123 wrote...
How to make a particular color transparent I have a colorful png and i only want to remove white color How will i do it without any background removal app (i mean using script)
Just use code similar to what the background removal app would use. Refer to my Image Transparency Adder/Trimmer scenario's code.
Roshan123 Roshan123

2020/10/26

#
Why is it saying that it need html conversion
danpost danpost

2020/10/26

#
Roshan123 wrote...
Why is it saying that it need html conversion
I implemented java.awt and javax.swing classes (for file operations) in the scenario which are not HTML5 friendly. Just download and look at code in Pix class (mainly, setTransaprent(Color) method).
Roshan123 Roshan123

2020/10/26

#
Its full of errors
danpost danpost

2020/10/26

#
Roshan123 wrote...
Its full of errors
Not if implemented properly.
You need to login to post a reply.