The Terasology Foundation

Transparent background after upload shall not be converter to white

Refer GitHub issue:43

What you will need to know?

Python, Flask.

Transparent background after upload shall not be converter to white

On /upload route of codebadge, if you upload a picture like a Icon that has transparency around the image it will not see it and replace it with white. It would be a good idea to add support that if a area is transparent it will be transparent after upload.

Expected Outcome

When tested with background of transparent image it shall keep the background transparent after upload on /upload route.

Resources & References (Where to Start)

You can go through CodeBadge project commit your code on Codebadge development branch

Some reference material https://www.science-emergence.com/Articles/How-to-make-background-image-transparent-using-python/

Extras

Just follow the readme whenever you are stuck. Visit Codeuino's Slack Channel](https://codeuino.slack.com/) in case of any doubts.s Website in case of any doubts.

Task tags

  • codeuino
  • machine learning

Students who completed this task

Torpedo

Task type

  • code Code
close

2019