{"id":20367943,"url":"https://github.com/ksoichiro/export_icons","last_synced_at":"2025-10-19T09:03:50.102Z","repository":{"id":141011473,"uuid":"12841997","full_name":"ksoichiro/export_icons","owner":"ksoichiro","description":"Inkscape Icon Export Script for Mobile Apps","archived":false,"fork":false,"pushed_at":"2022-04-20T12:39:28.000Z","size":16,"stargazers_count":22,"open_issues_count":4,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T01:02:16.629Z","etag":null,"topics":["android","inkscape"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ksoichiro.png","metadata":{"files":{"readme":"README.ja.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-15T07:19:03.000Z","updated_at":"2024-10-03T20:33:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"6789fadd-65a2-49af-b26d-c1e55cbd8b9f","html_url":"https://github.com/ksoichiro/export_icons","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fexport_icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fexport_icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fexport_icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fexport_icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksoichiro","download_url":"https://codeload.github.com/ksoichiro/export_icons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248524811,"owners_count":21118615,"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":["android","inkscape"],"created_at":"2024-11-15T00:35:46.402Z","updated_at":"2025-10-19T09:03:50.028Z","avatar_url":"https://github.com/ksoichiro.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"export_icons\n============\n\n## 概要\n\n`export_icons`は、[Inkscape](http://inkscape.org/)を使った\nモバイルアプリケーション向けのアイコン生成ツールです。\n\n以下のように実行すると\n\n    export_icons -i Icons.svg -o output\n\n次のように様々なサイズのアイコンが一括生成できます。\n\n    output/Android/drawable-mdpi/ic_launcher.png\n    output/Android/drawable-hdpi/ic_launcher.png\n    output/Android/drawable-xhdpi/ic_launcher.png\n    :\n    output/iOS/Icons.png\n    output/iOS/Icons@2x.png\n    :\n\n## 要件\n\n* Mac OS X 10.8 or later\n* Inkscape 0.48.2 or later\n* XQuartz 2.7.4 or later\n* あなたの素晴らしいアイコンSVGファイル :)\n\n## サポートするファイル\n\n### 入力ファイル\n\nInkscapeで作られたSVGファイル(*.svg)。  \nPageのサイズは 1024x1024px で作成しておくことを推奨します。\n\n### 出力ファイル\n\n#### Android用ファイル\n\n以下のファイルが生成されます。\n\n* `drawable-ldpi/ic_launcher.png` (36x36px)\n* `drawable-mdpi/ic_launcher.png` (48x48px)\n* `drawable-hdpi/ic_launcher.png` (72x72px)\n* `drawable-xdpi/ic_launcher.png` (96x96px)\n* `drawable-xxdpi/ic_launcher.png` (144x144px)\n* `drawable-xxxdpi/ic_launcher.png` (192x192px)\n* `ic_launcher-web.png` (512x512px)\n\n#### iOS用ファイル\n\n以下のファイルが生成されます。\n\n* `01a-iPhone-Notification-20@2x.png` (40x40)\n* `01b-iPhone-Notification-20@3x.png` (60x60)\n* `02a-iPhone-Spotlight-Settings-29.png` (29x29)\n* `02b-iPhone-Spotlight-Settings-29@2x.png` (58x58)\n* `02c-iPhone-Spotlight-Settings-29@3x.png` (87x87)\n* `03a-iPhone-Spotlight-40@2x.png` (80x80)\n* `03b-iPhone-Spotlight-40@3x.png` (120x120)\n* `04a-iPhone-App-57.png` (57x57)\n* `04b-iPhone-App-57@2x.png` (114x114)\n* `05a-iPhone-App-60@2x.png` (120x120)\n* `05b-iPhone-App-60@3x.png` (180x180)\n* `06a-iPad-Notifications-20.png` (20x20)\n* `06b-iPad-Notifications-20@2x.png` (40x40)\n* `07a-iPad-Settings-29.png` (29x29)\n* `07b-iPad-Settings-29@2x.png` (58x58)\n* `08a-iPad-Spotlight-40.png` (40x40)\n* `08b-iPad-Spotlight-40@2x.png` (80x80)\n* `09a-iPad-Spotlight-50.png` (50x50)\n* `09b-iPad-Spotlight-50@2x.png` (100x100)\n* `10a-iPad-App-72.png` (72x72)\n* `10b-iPad-App-72@2x.png` (144x144)\n* `11a-iPad-App-76.png` (76x76)\n* `11b-iPad-App-76@2x.png` (152x152)\n* `12a-iPad-Pro-App-83_5@2x.png` (167x167)\n* `13a-iOS-Marketing-1024.png` (1024x1024)\n\n## インストール\n\n以下のいずれの場合でも、パスの通った位置にインストールした場合は実行時に`./`をつける必要はありません。\n\n### Homebrew\n\n```sh\n$ brew tap ksoichiro/export_icons\n$ brew install export_icons\n```\n\n### マニュアルインストール\n\n`export_icons`を`/usr/local/bin`のようなパスの通ったディレクトリに置いてください。  \nあるいは、次のようにシンボリックリンクを作ります。\n\n    ln -s /path/to/this/dir/export_icons /usr/local/bin/export_icons\n\n## 利用方法\n\n    export_icons -i INPUT_FILE -o OUTPUT_DIR [-f] [-t OS_TYPE] [-b BASE_NAME] [-s BASE_SIZE] [-v]\n\n`-i INPUT_FILE`\n\n入力するInkscapeのファイルを指定します。  \n必須です。\n\n`-o OUTPUT_DIR`\n\n生成するアイコンを出力するディレクトリを指定します。  \n必須です。  \nこのディレクトリがない場合、自動生成されます。\n\n`-f`\n\nオプションです。  \n指定された場合、出力ディレクトリ(`OUTPUT_DIR/Android`, `OUTPUT_DIR/iOS`)が存在していても上書きします。  \n指定されていない場合は、出力ディレクトリがあるとスキップします。\n\n`-t OS_TYPE`\n\n対象のモバイルOSを指定します。  \nオプションです。  \n有効な値は `Android`、`iOS`、`All`です。  \nデフォルト値は`All`です。\n\n`-b BASE_NAME`\n\nAndroidでのみ有効なオプションです。\n指定された場合、出力するファイルのベースになる名前がこの値に変わります。\n\n    export_icons -i ic_my_icon -o out -t Android -b ic_my_icon\n\n結果:\n\n    out/Android/res/drawable-ldpi/ic_my_icon.png\n    out/Android/res/drawable-mdpi/ic_my_icon.png\n    out/Android/res/drawable-hdpi/ic_my_icon.png\n    out/Android/res/drawable-xhdpi/ic_my_icon.png\n    out/Android/res/drawable-xxhdpi/ic_my_icon.png\n\n`-s BASE_SIZE`\n\nAndroidでのみ有効なオプションです。\n指定された場合、`mdpi`のピクセルが変わります。\n\n    export_icons -i ic_my_icon -o out -t Android -b ic_my_icon -s 32\n\n結果:\n\n    out/Android/res/drawable-ldpi/ic_my_icon.png -\u003e 24px\n    out/Android/res/drawable-mdpi/ic_my_icon.png -\u003e 32px\n    out/Android/res/drawable-hdpi/ic_my_icon.png -\u003e 48px\n    out/Android/res/drawable-xhdpi/ic_my_icon.png -\u003e 64px\n    out/Android/res/drawable-xxhdpi/ic_my_icon.png -\u003e 96px\n\n`-v`\n\n詳細出力を有効にします。\n\n### Dockerでの使用方法\n\n`export_icons`のプログラムと`icon.svg`がカレントディレクトリにある場合は、\n以下のコマンドで`out`ディレクトリにアイコンが生成されます。\n\n    docker run -t -i -v `pwd`:/workspace -w /workspace ksoichiro/inkscape ./export_icons -i icon.svg -o out -f -v -p /usr/bin/inkscape\n\n## ライセンス\n\nCopyright © 2013 Soichiro Kashima.\n\nMITライセンスでライセンスされています。  \n詳しくは同梱のLICENSEファイルをご覧ください。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Fexport_icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksoichiro%2Fexport_icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Fexport_icons/lists"}