{"id":13634533,"url":"https://github.com/doprz/dipc","last_synced_at":"2025-04-06T02:09:40.234Z","repository":{"id":153407768,"uuid":"628421092","full_name":"doprz/dipc","owner":"doprz","description":"Convert your favorite images and wallpapers with your favorite color palettes/themes","archived":false,"fork":false,"pushed_at":"2023-08-10T07:30:16.000Z","size":6177,"stargazers_count":160,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-22T13:31:38.612Z","etag":null,"topics":["cli","color-palette","color-scheme","hacktoberfest","hacktoberfest2023","image-converter","image-processing","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doprz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-15T22:24:52.000Z","updated_at":"2024-04-22T04:08:24.000Z","dependencies_parsed_at":"2024-01-07T21:53:55.831Z","dependency_job_id":"27d3a354-4d04-4fd5-91c3-a7630b88aa46","html_url":"https://github.com/doprz/dipc","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doprz%2Fdipc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doprz%2Fdipc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doprz%2Fdipc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doprz%2Fdipc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doprz","download_url":"https://codeload.github.com/doprz/dipc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423515,"owners_count":20936626,"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","color-palette","color-scheme","hacktoberfest","hacktoberfest2023","image-converter","image-processing","rust"],"created_at":"2024-08-02T00:00:24.615Z","updated_at":"2025-04-06T02:09:40.211Z","avatar_url":"https://github.com/doprz.png","language":"Rust","funding_links":[],"categories":["Applications"],"sub_categories":[],"readme":"# dipc\n\n[![crates.io](https://img.shields.io/crates/v/dipc)](https://crates.io/crates/dipc)\n[![Homebrew](https://img.shields.io/homebrew/v/dipc)](https://formulae.brew.sh/formula/dipc)\n\n\u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"images/dipc_dark.png\"\u003e\n    \u003cimg alt=\"dipc light icon\" src=\"images/dipc_light.png\"\u003e\n\u003c/picture\u003e\n\ndoprz' image palette converter\n\nConvert your favorite images and wallpapers with your favorite color palettes/themes\n\n## Color Palettes/Themes\n\n- catppuccin\n- dracula\n- edge\n- everforest\n- gruvbox\n- gruvbox-material\n- nord\n- onedark\n- rose-pine\n- solarized\n- tokyo-night\n\n## Examples\n\n![dipc examples](images/dipc_examples.png)\n\n### Image Credits\n\nPaul Bill - [https://unsplash.com/@hoffman11](https://unsplash.com/@hoffman11)\n\nAdrien Vajas - [https://unsplash.com/@adrien_vj](https://unsplash.com/@adrien_vj)\n\nFilipp Romanovski - [https://unsplash.com/@filipp_roman_photography](https://unsplash.com/@filipp_roman_photography)\n\n## Installation\n\n### Homebrew\n\n```sh\nbrew install dipc\n```\n\n### Cargo\n\n```sh\ncargo install dipc\n```\n\n### From Source\n\nTo build and install from source, first checkout the tag or branch you want to install, then run\n\n```sh\ncargo install --path .\n```\n\nThis will build and install `dipc` in your `~/.cargo/bin`. Make sure that `~/.cargo/bin` is in your `$PATH` variable.\n\n## Usage\n\n```\nConvert your favorite images and wallpapers with your favorite color palettes/themes\n\nUsage: dipc [OPTIONS] \u003cPALETTE\u003e [FILE]...\n\nArguments:\n  \u003cPALETTE\u003e\n          The color palette to use:\n              - name of a builtin theme\n              - path to a theme in JSON\n              - a JSON string with the theme (starting with `JSON: {}`)\n          Run with --help instead of -h for a list of all builtin themes\n\n          Builtin themes:\n              - catppuccin\n              - dracula\n              - edge\n              - everforest\n              - gruvbox\n              - gruvbox-material\n              - nord\n              - onedark\n              - rose-pine\n              - solarized\n              - tokyo-night\n\n  [FILE]...\n          The image(s) to process\n\nOptions:\n  -s, --styles \u003cVARIATIONS\u003e\n          The color palette variation(s) to use\n          Run with --help instead of -h for a list of all possible values\n\n          Possible values:\n              - `all` to generate an image for each of the variations\n              - `none` if you are using a flat theme without variations\n              - or a comma-delimited list of the names of variations it should use\n\n          [default: all]\n\n  -o, --output \u003cPATH\u003e\n          Output image(s) name/path as a comma-delimited list\n\n  -d, --dir-output \u003cPATH\u003e\n          Output directory name/path\n\n  -m, --method \u003cMETHOD\u003e\n          CIELAB DeltaE method to use\n\n          [default: de2000]\n\n          Possible values:\n          - de2000:  The default DeltaE method\n          - de1994g: CIE94 DeltaE implementation, weighted with a tolerance for graphics\n          - de1994t: CIE94 DeltaE implementation, weighted with a tolerance for textiles\n          - de1976:  The original DeltaE implementation, a basic euclidian distance formula\n\n  -v, --verbose...\n          Verbose mode (-v, -vv, -vvv)\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n```\n\n### Convert all images in directory\n\n```sh\n# Save to current directory\ndipc \u003cPALETTE\u003e \u003cINPUT_DIR\u003e/*\n\n# Save to output directory\ndipc --dir-output \u003cPATH\u003e \u003cPALETTE\u003e \u003cINPUT_DIR\u003e/*\n```\n\n### Convert multiple images\n\n```sh\ndipc \u003cPALETTE\u003e img0.png img1.png\n\n# Rename files\ndipc --output new-img0.png,new-img1.png \u003cPALETTE\u003e img0.png img1.png\n```\n\n### Color palette variation(s)/style(s)\n\n```sh\ndipc --styles Style0 \u003cPALETTE\u003e img.png\ndipc --styles Style0,Style1 \u003cPALETTE\u003e img.png\n```\n\n### CIELAB DeltaE method\n\n```sh\ndipc --method \u003cMETHOD\u003e \u003cPALETTE\u003e img.png\n```\n\n## License\n\n`dipc` is dual-licensed under the terms of both the MIT License and the Apache License 2.0\n\nSPDX-License-Identifier: MIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoprz%2Fdipc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoprz%2Fdipc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoprz%2Fdipc/lists"}