background_mask
Utility for adding alpha channel for white background region of a picture.
How to use
Make sure you install Pillow first. Then type python background_mask.py [--threshold 240] input_image_file_name and you get the generated image named with ..._mask.png.
Situtation for usage
When you download an image from Internet, the alpha channel does not exist. Use this utility script can make the whilte region of the picture transparent.
Release files for background-mask 0.2.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| background_mask-0.2.post1.tar.gz | 2.0 kB | Details |
Release files / background_mask-0.2.post1.tar.gz
| Download URL | background_mask-0.2.post1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1582f1b40095260fcf9d2ad5dcbc05eb573b205abe2e33d6468e6f08a6345570
|
|
BLAKE2b-256 checksum How to use checksums |
30f20f2e2fb49b2ddf373c53e47d3f0a64556a5184cb7eea948525724f115552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.3
|