{"id":50954633,"url":"https://github.com/dungngminh/xml2image","last_synced_at":"2026-06-18T05:01:46.108Z","repository":{"id":356786340,"uuid":"1234041313","full_name":"dungngminh/xml2image","owner":"dungngminh","description":"Simple GUI tool to convert drawable xml to image","archived":false,"fork":false,"pushed_at":"2026-05-09T17:53:08.000Z","size":2765,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-09T19:34:40.783Z","etag":null,"topics":["image-processing","kotlin-swing","swing-gui","xml","xml2png"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/dungngminh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-09T17:12:53.000Z","updated_at":"2026-05-09T17:53:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dungngminh/xml2image","commit_stats":null,"previous_names":["dungngminh/xml2image"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dungngminh/xml2image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungngminh%2Fxml2image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungngminh%2Fxml2image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungngminh%2Fxml2image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungngminh%2Fxml2image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dungngminh","download_url":"https://codeload.github.com/dungngminh/xml2image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungngminh%2Fxml2image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34417414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["image-processing","kotlin-swing","swing-gui","xml","xml2png"],"created_at":"2026-06-18T05:01:45.245Z","updated_at":"2026-06-18T05:01:46.102Z","avatar_url":"https://github.com/dungngminh.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" alt=\"XML2Image icon\" width=\"128\" height=\"128\"\u003e\n\u003c/p\u003e\n\n# XML2Image\n\nA desktop app for converting Android VectorDrawable XML files to PNG, JPG, or WebP.\n\nBatch convert vector drawables, drag and drop files or folders, choose output size and format, and export images from a small cross-platform Swing UI.\n\n![Build](https://github.com/dungngminh/xml2image/actions/workflows/build.yml/badge.svg)\n\n## Features\n\n- Batch Conversion - Add individual XML files or whole folders.\n- Drag and Drop - Drop files or folders directly into the app.\n- Multiple Formats - Export PNG, JPG, or WebP.\n- Size Controls - Scale output or override width and height.\n- Transparency Control - Keep alpha for PNG/WebP or export with a white background for JPG.\n- Android Vector Support - Parses common VectorDrawable paths, fills, strokes, groups, transforms, and arcs.\n- Cross-Platform Builds - macOS DMG, Linux tar.gz, and Windows zip with an `.exe` launcher.\n\n## Installation\n\nDownload the latest package from GitHub Releases:\n\n```text\nhttps://github.com/dungngminh/xml2image/releases\n```\n\nChoose the package for your platform:\n\n- macOS: `XML Resource Converter-lite-*.dmg`\n- Linux: `xml2image-lite-*.tar.gz`\n- Windows: `xml2image-windows-lite-*.zip`\n\nJava 21 or newer must be installed on the target machine.\n\n## Run From Source\n\n```sh\ngit clone https://github.com/dungngminh/xml2image.git\ncd xml2image\n./run.sh\n```\n\nOr with Gradle:\n\n```sh\ngradle run\n```\n\n## Build\n\nBuild lightweight Linux and Windows archives:\n\n```sh\ngradle packageLite\n```\n\nBuild the macOS lite DMG:\n\n```sh\n./package-dmg-lite.sh\n```\n\nBuild the macOS DMG with a bundled stripped Java runtime:\n\n```sh\n./package-dmg.sh\n```\n\nOutputs are written to:\n\n```text\nbuild/distributions/\nbuild/jpackage/output/\n```\n\n## Platform Notes\n\n- macOS packages use `src/main/resources/macos/AppIcon.icns`.\n- Linux archives include `share/icons/xml2image.png` and `xml2image.desktop`.\n- Windows archives include a jpackage-generated `XML2Image.exe` launcher with `share/icons/xml2image.ico`.\n- Lite packages do not bundle Java; install Java 21+ before running them.\n\n## Notes\n\n- Input must be Android `\u003cvector\u003e` drawable XML.\n- PNG keeps transparency when `Keep alpha` is enabled.\n- JPG is written on a white background.\n- Gradle-built packages include a WebP ImageIO writer. Direct `kotlinc` fallback builds still use `cwebp` from `PATH` for WebP export.\n\n## Contributing\n\n```sh\ngit clone https://github.com/dungngminh/xml2image.git\ncd xml2image\ngradle jar\n```\n\nBefore opening a pull request, run the relevant build command for the package you changed.\n\n## License\n\nMIT - see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdungngminh%2Fxml2image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdungngminh%2Fxml2image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdungngminh%2Fxml2image/lists"}