{"id":17040252,"url":"https://github.com/zhaofeng-shu33/background_mask","last_synced_at":"2025-07-18T15:36:25.848Z","repository":{"id":57413647,"uuid":"155350199","full_name":"zhaofeng-shu33/background_mask","owner":"zhaofeng-shu33","description":"Utility for adding alpha channel for white background region of a picture","archived":false,"fork":false,"pushed_at":"2020-10-15T14:32:10.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T15:29:45.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhaofeng-shu33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-30T08:29:08.000Z","updated_at":"2023-03-09T15:29:46.000Z","dependencies_parsed_at":"2022-09-26T17:11:24.626Z","dependency_job_id":null,"html_url":"https://github.com/zhaofeng-shu33/background_mask","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zhaofeng-shu33/background_mask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofeng-shu33%2Fbackground_mask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofeng-shu33%2Fbackground_mask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofeng-shu33%2Fbackground_mask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofeng-shu33%2Fbackground_mask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaofeng-shu33","download_url":"https://codeload.github.com/zhaofeng-shu33/background_mask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaofeng-shu33%2Fbackground_mask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265786806,"owners_count":23828336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:09:15.209Z","updated_at":"2025-07-18T15:36:25.827Z","avatar_url":"https://github.com/zhaofeng-shu33.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# background_mask\nUtility for adding alpha channel for white background region of a picture.\n\n## How to use\nMake 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`.\n\n## Situtation for usage\nWhen 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaofeng-shu33%2Fbackground_mask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaofeng-shu33%2Fbackground_mask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaofeng-shu33%2Fbackground_mask/lists"}