{"id":24576134,"url":"https://github.com/takana671/partiallytransparentimage","last_synced_at":"2026-05-07T20:02:43.646Z","repository":{"id":270553530,"uuid":"910355136","full_name":"taKana671/PartiallyTransparentImage","owner":"taKana671","description":"A simple tool to make an image partially transparent","archived":false,"fork":false,"pushed_at":"2025-01-13T04:28:07.000Z","size":3078,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T22:23:20.762Z","etag":null,"topics":["geomipterrain","numpy","opencv","pillow","python3","transparent-image"],"latest_commit_sha":null,"homepage":"","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/taKana671.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T04:08:02.000Z","updated_at":"2025-01-13T04:28:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"955b1bb8-1b9e-4ae7-9171-5468300a3663","html_url":"https://github.com/taKana671/PartiallyTransparentImage","commit_stats":null,"previous_names":["takana671/partiallytransparentimage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taKana671%2FPartiallyTransparentImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taKana671%2FPartiallyTransparentImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taKana671%2FPartiallyTransparentImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taKana671%2FPartiallyTransparentImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taKana671","download_url":"https://codeload.github.com/taKana671/PartiallyTransparentImage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244036254,"owners_count":20387483,"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":["geomipterrain","numpy","opencv","pillow","python3","transparent-image"],"created_at":"2025-01-23T22:21:48.408Z","updated_at":"2026-05-07T20:02:43.565Z","avatar_url":"https://github.com/taKana671.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PartiallyTransparentImage\n\nA simple tool to make an image partially transparent.\nUseful when, for example, making a heightfield image partially transparent to make a hole in terrain.\n(See https://github.com/taKana671/TerrainWithHole)\n\n# Requirements\n* numpy 2.1.2\n* opencv-contrib-python 4.10.0.84\n* opencv-python 4.10.0.84\n* pillow 11.0.0\n  \n# Environment\n* Python 3.11\n* Windows11\n\n# Usage\n\n### image_editor\n* Execute a command below on your command line.\n```\n\u003e\u003e\u003ecd image_editor\n\u003e\u003e\u003epython image_editor.py\n```\n\n1. Click [File \u003e Open] to select an image file.\n2. Select the area that you want make transparent by mouse dragging.\n3. Click [File \u003e Save] to save the image. The image made partially transparent will be output.\n4. Click [Edit \u003e Undo] and select transparent area to undo the changes.\n5. Input alpha value in the range from 0 to 255 into the alpha field to change transparency.\n\n![demo1](https://github.com/user-attachments/assets/60eecb27-3b44-4509-b23f-cf61acda89b5)\n\noutput file\n\n![result](https://github.com/user-attachments/assets/feb1163d-4c17-4f0b-8a3a-b98edaad8d38)\n\n\n### invisible_triangle\n* Execute a command below on your command line.\n* Create a hole by making the triangles in the block of geomipterrain at the clicked position invisible.\n```\n\u003e\u003e\u003ecd invisible_triangle\n\u003e\u003e\u003epython create_terrain.py\n```\n\n![demo3](https://github.com/user-attachments/assets/951f3805-bf59-498d-9ebe-82a579038955)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakana671%2Fpartiallytransparentimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakana671%2Fpartiallytransparentimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakana671%2Fpartiallytransparentimage/lists"}