{"id":16513249,"url":"https://github.com/moisutsu/touka","last_synced_at":"2025-10-28T04:32:19.485Z","repository":{"id":54962608,"uuid":"272738829","full_name":"moisutsu/touka","owner":"moisutsu","description":"Command-line tool for making image backgrounds transparent","archived":false,"fork":false,"pushed_at":"2022-01-14T06:46:24.000Z","size":393,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-13T14:15:16.499Z","etag":null,"topics":["cli-tool","image","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/touka","language":"Rust","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/moisutsu.png","metadata":{"files":{"readme":"README.ja.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":"2020-06-16T15:03:33.000Z","updated_at":"2022-08-17T03:33:58.000Z","dependencies_parsed_at":"2022-08-14T07:31:10.687Z","dependency_job_id":null,"html_url":"https://github.com/moisutsu/touka","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/moisutsu%2Ftouka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisutsu%2Ftouka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisutsu%2Ftouka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisutsu%2Ftouka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moisutsu","download_url":"https://codeload.github.com/moisutsu/touka/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219860169,"owners_count":16556026,"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":["cli-tool","image","rust"],"created_at":"2024-10-11T16:08:15.222Z","updated_at":"2025-10-28T04:32:12.998Z","avatar_url":"https://github.com/moisutsu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Touka\n\n[English](./README.md)\n\n画像の背景を透過するコマンドラインツールです。\n\n## インストール方法\n\n```bash\ncargo install touka\n```\n\n## 使い方\n\n背景を透過したい画像と出力先のパスを`touka`のコマンドライン引数で与えるだけで、背景を透過した画像をファイルとして出力します。\n\n```bash\ntouka input/image/path -o output/image/path\n```\n\nまたオプションとして、`-t`を使うことで白かどうかを判定するときに使うしきい値を指定できます。\n\n```bash\ntouka input/image/path -o output/image/path -t 250\n```\n\n画素値 r, g, bがすべてしきい値以上のとき、その画素を透過します。デフォルトのしきい値は230です。\n\nmacOS限定で直接クリップボードと画像をやり取りすることができます。入力画像を指定しない場合はクリップボードの画像を透過し、出力パスを指定しない場合はクリップボードに透過した画像を保存します。\n\n```bash\n# The clipboard image's background is transparent and saved to the clipboard.\ntouka\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoisutsu%2Ftouka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoisutsu%2Ftouka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoisutsu%2Ftouka/lists"}