{"id":41280603,"url":"https://github.com/rmuraix/pixelate","last_synced_at":"2026-01-23T02:50:22.233Z","repository":{"id":163315865,"uuid":"638459852","full_name":"rmuraix/pixelate","owner":"rmuraix","description":"Command-line image processing app written in Rust","archived":false,"fork":false,"pushed_at":"2026-01-03T07:59:03.000Z","size":5643,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T10:07:39.037Z","etag":null,"topics":["image-processing"],"latest_commit_sha":null,"homepage":"https://lab.rmurai.com/pixelate/","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/rmuraix.png","metadata":{"files":{"readme":"README.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"custom":"https://paypal.me/rmurai"}},"created_at":"2023-05-09T12:28:22.000Z","updated_at":"2026-01-03T07:58:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1ce6e19-322b-429e-a7e3-b4cdf56bc8f8","html_url":"https://github.com/rmuraix/pixelate","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rmuraix/pixelate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmuraix%2Fpixelate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmuraix%2Fpixelate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmuraix%2Fpixelate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmuraix%2Fpixelate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmuraix","download_url":"https://codeload.github.com/rmuraix/pixelate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmuraix%2Fpixelate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"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"],"created_at":"2026-01-23T02:50:21.722Z","updated_at":"2026-01-23T02:50:22.226Z","avatar_url":"https://github.com/rmuraix.png","language":"Rust","funding_links":["https://paypal.me/rmurai"],"categories":[],"sub_categories":[],"readme":"# Pixelate\n\n[![License](https://img.shields.io/github/license/rmuraix/pixelate)](./LICENSE)\n[![Build](https://github.com/rmuraix/pixelate/actions/workflows/build.yml/badge.svg)](https://github.com/rmuraix/pixelate/actions/workflows/build.yml)\n\n## About\n\nCommand line applications for image processing\n\n## Usage\n\nClick [here](https://github.com/image-rs/image#supported-image-formats) to see supported image formats.\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e \u003cCOMMAND\u003e\n\nCommands:\n  grayscale  Convert the image to grayscale\n  halftone   Apply halftoning using the dithering method\n  gamma      Perform gamma correction\n  invert     Apply negative-positive inversion\n  edge       Detect edges (e.g., Sobel)\n  help       Print this message or the help of the given subcommand(s)\n\nOptions:\n  -i, --input \u003cFILE\u003e   Path to the image file to be processed\n  -o, --output \u003cFILE\u003e  Output path for the processed image file\n  -h, --help           Print help\n  -V, --version        Print version\n```\n\n### Grayscale\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e grayscale [OPTIONS]\n\nOptions:\n  -r, --red \u003cRED\u003e      Red channel weight [default: 0.2126]\n  -g, --green \u003cGREEN\u003e  Green channel weight [default: 0.7152]\n  -b, --blue \u003cBLUE\u003e    Blue channel weight [default: 0.0722]\n  -h, --help           Print help\n```\n\n#### Example\n\n![Grayscale](./assets/parrot_grayscale.jpg)\n\n### Halftone\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e halftone\n\nOptions:\n  -h, --help  Print help\n```\n\n#### Example\n\nProduces black-and-white (grayscale) ordered-dither output.\n\n![Halftone](./assets/parrot_halftone.jpg)\n\n### Gamma\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e gamma --gamma \u003cGAMMA\u003e\n\nOptions:\n  -g, --gamma \u003cGAMMA\u003e  Gamma value\n  -h, --help           Print help\n```\n\n#### Example\n\n`gamma=0.45`\n\n![Gamma](./assets/parrot_gamma.jpg)\n\n### Invert\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e invert\n\nOptions:\n  -h, --help  Print help\n```\n\n#### Example\n\n![Invert](./assets/parrot_invert.jpg)\n\n### Edge\n\n```bash\nUsage: pixelate --input \u003cFILE\u003e --output \u003cFILE\u003e edge [OPTIONS]\n\nOptions:\n      --method \u003cMETHOD\u003e\n          Edge detection method\n\n          Possible values:\n          - sobel: Sobel operator (gradient magnitude)\n          \n          [default: sobel]\n\n      --intensity \u003cINTENSITY\u003e\n          Intensity multiplier applied after normalization (\u003e= 0.0)\n          \n          [default: 1.0]\n\n  -h, --help\n          Print help (see a summary with '-h')\n```\n\n#### Example\n\n`method=sobel intensity=2.0`\n\n![Edge](./assets/parrot_edge.jpg)\n\n\n## Development\n\n- Build: `cargo build` (release: `cargo build --release`)\n- Test: `cargo test`\n- Format: `cargo fmt --all` (CI enforces `-- --check`)\n- Lint: `cargo clippy --all-targets --all-features -- -D warnings`\n\n## Library Usage\n\nYou can use Pixelate as a library. Example (apply halftone):\n\n```rust\nuse image::GenericImageView;\nuse pixelate::filters::{Filter, HalftoneFilter};\n\nlet img = image::open(\"input.jpg\")?.to_rgb8();\nlet out = HalftoneFilter.apply(\u0026img);\nout.save(\"out.jpg\")?;\n```\n\n## Contributing\n\nYour contribution is always welcome. Please read [Contributing Guide](https://github.com/rmuraix/.github/blob/main/.github/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmuraix%2Fpixelate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmuraix%2Fpixelate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmuraix%2Fpixelate/lists"}