{"id":18378079,"url":"https://github.com/mlabbe/imgpremultiply","last_synced_at":"2025-04-11T07:46:40.755Z","repository":{"id":33916375,"uuid":"37635339","full_name":"mlabbe/imgpremultiply","owner":"mlabbe","description":"Premultiply alpha in images from the command line with wildcard support and high performance processing.","archived":false,"fork":false,"pushed_at":"2015-10-05T19:32:47.000Z","size":144,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T22:42:10.251Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlabbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-18T03:34:19.000Z","updated_at":"2015-12-12T19:57:22.000Z","dependencies_parsed_at":"2022-09-24T09:32:51.111Z","dependency_job_id":null,"html_url":"https://github.com/mlabbe/imgpremultiply","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fimgpremultiply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fimgpremultiply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fimgpremultiply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fimgpremultiply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlabbe","download_url":"https://codeload.github.com/mlabbe/imgpremultiply/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248359444,"owners_count":21090528,"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-11-06T00:30:58.012Z","updated_at":"2025-04-11T07:46:40.730Z","avatar_url":"https://github.com/mlabbe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Premultiply Images #\n\nSimply premultiply the alpha of images.  It's written in Python but runs quickly because it uses Numpy.\n\nThe main problem with this program is that you have to install its dependencies to get it to work.  That can be time consuming and annoying.  Also, Pillow has been known to break its own APIs from time to time.\n\n## Dependencies ##\n\n - Numpy\n - Pillow (the friendly PIL fork)\n\n`easy_install Pillow`\n`easy_install numpy`\n\nUsage:\n\n    python imgpremultiply.py *.png\n\n\n## Patch request ##\n\nI would accept a patch that detects whether PIL is installed and just runs a slow Python-only version if it is not.  Most people don't need the speed and it just takes longer to install the dependency than the time saved to use it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabbe%2Fimgpremultiply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlabbe%2Fimgpremultiply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabbe%2Fimgpremultiply/lists"}