{"id":20338196,"url":"https://github.com/billryan/fig_composite","last_synced_at":"2026-05-09T11:35:03.288Z","repository":{"id":20075382,"uuid":"23344297","full_name":"billryan/fig_composite","owner":"billryan","description":"Figure Composition using PIL","archived":false,"fork":false,"pushed_at":"2014-08-26T15:31:40.000Z","size":10472,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T17:38:03.617Z","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":"google/flexbox-layout","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billryan.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":"2014-08-26T08:22:27.000Z","updated_at":"2014-08-26T08:26:07.000Z","dependencies_parsed_at":"2022-08-23T14:21:20.186Z","dependency_job_id":null,"html_url":"https://github.com/billryan/fig_composite","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/billryan%2Ffig_composite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Ffig_composite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Ffig_composite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Ffig_composite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billryan","download_url":"https://codeload.github.com/billryan/fig_composite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241863358,"owners_count":20032970,"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-14T21:12:00.942Z","updated_at":"2025-12-02T11:04:40.174Z","avatar_url":"https://github.com/billryan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 依赖  \n如果是直接运行Python程序的话需要PIL, numpy。如果用pillow2.0以上的话就不需要`alpha_composite`方法了，进而也就不需要numpy，用`Image.alpha_composite`代替就好，之所以造了个`alpha_composite`的轮子是因为pillow 2.0以下或者原生PIL不提供此方法...  \n\n## 使用说明  \n`pic_raw`为源图片存放目录，里边必须要有`original.png`作为原始图片，其他元素图片随意（可以以子文件夹形式存放）。 \n\n运行`fig_composite.py`或是双击相应打包好的exe文件(需与`pic_raw`同一目录)后即可在当前目录下看到处理好的`pic_composite`文件夹，里边的文件即是混合之后的图片。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Ffig_composite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillryan%2Ffig_composite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Ffig_composite/lists"}