{"id":31456273,"url":"https://github.com/naporin0624/pixel-art-rust","last_synced_at":"2025-10-01T10:57:05.032Z","repository":{"id":304899847,"uuid":"1019396520","full_name":"naporin0624/pixel-art-rust","owner":"naporin0624","description":"A high-performance Rust implementation for creating stunning pixel art","archived":false,"fork":false,"pushed_at":"2025-07-16T00:53:09.000Z","size":9432,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T19:32:26.755Z","etag":null,"topics":["cli","graphics","image-processing","pixel-art","rust"],"latest_commit_sha":null,"homepage":"https://naporin0624.github.io/pixel-art-rust/","language":"Rust","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/naporin0624.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,"zenodo":null}},"created_at":"2025-07-14T09:06:59.000Z","updated_at":"2025-07-19T08:39:25.000Z","dependencies_parsed_at":"2025-07-17T06:12:11.928Z","dependency_job_id":"c0a00b1b-3fb6-42d0-915d-db8355c018c2","html_url":"https://github.com/naporin0624/pixel-art-rust","commit_stats":null,"previous_names":["naporin0624/pixel-art-rust"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/naporin0624/pixel-art-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naporin0624%2Fpixel-art-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naporin0624%2Fpixel-art-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naporin0624%2Fpixel-art-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naporin0624%2Fpixel-art-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naporin0624","download_url":"https://codeload.github.com/naporin0624/pixel-art-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naporin0624%2Fpixel-art-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277831230,"owners_count":25884713,"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","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"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":["cli","graphics","image-processing","pixel-art","rust"],"created_at":"2025-10-01T10:57:03.065Z","updated_at":"2025-10-01T10:57:05.018Z","avatar_url":"https://github.com/naporin0624.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 Pixel Art Rust\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"examples/banner.png\" alt=\"Pixel Art Rust Banner\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/naporin0624/pixel-art-rust/actions\"\u003e\n    \u003cimg src=\"https://github.com/naporin0624/pixel-art-rust/actions/workflows/ci.yml/badge.svg\" alt=\"CI Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/pixel-art-rust\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/pixel-art-rust.svg\" alt=\"Crates.io\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://docs.rs/pixel-art-rust\"\u003e\n    \u003cimg src=\"https://docs.rs/pixel-art-rust/badge.svg\" alt=\"Documentation\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\nPixel Art Rust is a high-performance command-line tool that converts regular images into pixel art using advanced color quantization algorithms. Built with Rust for speed and reliability, it offers multiple algorithms and real-time progress visualization.\n\n## ✨ Features\n\n- 🚀 **Blazing Fast** - Parallel processing with Rayon\n- 🎯 **Multiple Algorithms** - Average, Median Cut, K-Means, and Adaptive Quadtree\n- 📊 **Real-time Progress** - Beautiful progress bars with indicatif\n- 🔧 **Flexible** - Customizable grid sizes and color palettes\n- 🎨 **High Quality** - Perceptually uniform LAB color space support\n- 💾 **Memory Efficient** - Optimized for large images\n\n## 🖼️ Demo\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eOriginal\u003c/b\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eAverage\u003c/b\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eMedian Cut\u003c/b\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eK-Means\u003c/b\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/sample.jpg\" width=\"200\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/portrait_avg.png\" width=\"200\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/portrait_median.png\" width=\"200\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/portrait_kmeans.png\" width=\"200\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### Processing Methods\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eUniform Grid (32x32)\u003c/b\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eAdaptive Quadtree\u003c/b\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/output_grid.png\" width=\"300\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"examples/output_adaptive.png\" width=\"300\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## 📦 Installation\n\n### Prerequisites\n- Rust 1.70+ (for SIMD support)\n- cargo\n\n### From Source\n```bash\ngit clone https://github.com/naporin0624/pixel-art-rust.git\ncd pixel-art-rust\ncargo build --release\n```\n\n### From Crates.io\n```bash\ncargo install pixel-art-rust\n```\n\n## 🚀 Usage\n\n### Basic Usage\n```bash\npixel-art-rust -w 32 -h 32 -i input.jpg -o output.png\n```\n\n### Advanced Options\n```bash\n# K-Means with 16 colors\npixel-art-rust -w 64 -h 64 -i photo.jpg -o pixel.png --algorithm kmeans --colors 16\n\n# Adaptive quadtree mode\npixel-art-rust --adaptive -i photo.jpg -o adaptive.png --max-depth 8 --variance-threshold 30.0\n\n# Median cut algorithm\npixel-art-rust -w 128 -h 96 -i landscape.png -o retro.png --algorithm median-cut\n```\n\n### All Options\n```\n-w, --width \u003cWIDTH\u003e              Number of horizontal divisions\n-h, --height \u003cHEIGHT\u003e            Number of vertical divisions\n-i, --input \u003cPATH\u003e               Input image path\n-o, --output \u003cPATH\u003e              Output image path\n-a, --algorithm \u003cALGORITHM\u003e      Color extraction algorithm [default: average]\n                                [possible values: average, median-cut, kmeans]\n-c, --colors \u003cCOLORS\u003e            Number of colors for quantization\n    --adaptive                   Use adaptive quadtree instead of uniform grid\n    --max-depth \u003cDEPTH\u003e          Max depth for quadtree [default: 10]\n    --variance-threshold \u003cVAL\u003e   Variance threshold for splitting [default: 50.0]\n```\n\n## 🧮 Algorithms\n\n| Algorithm | Speed | Quality | Best For |\n|-----------|-------|---------|----------|\n| Average | ⚡⚡⚡ | ⭐⭐ | Quick previews |\n| Median Cut | ⚡⚡ | ⭐⭐⭐ | Balanced results |\n| K-Means | ⚡ | ⭐⭐⭐⭐ | High quality |\n| Quadtree | ⚡⚡ | ⭐⭐⭐⭐ | Adaptive detail |\n\nSee the [documentation](https://naporin0624.github.io/pixel-art-rust) for detailed explanations.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaporin0624%2Fpixel-art-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaporin0624%2Fpixel-art-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaporin0624%2Fpixel-art-rust/lists"}