{"id":21197523,"url":"https://github.com/vafdaf12/dithery-do","last_synced_at":"2026-05-20T09:34:44.266Z","repository":{"id":175849251,"uuid":"654578903","full_name":"Vafdaf12/dithery-do","owner":"Vafdaf12","description":"Theme an image using a pre-defined palette","archived":false,"fork":false,"pushed_at":"2024-02-04T17:23:52.000Z","size":433,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T01:06:09.827Z","etag":null,"topics":["art","colorimetry","cpp","dithering","image-processing"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Vafdaf12.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-16T12:44:23.000Z","updated_at":"2025-08-25T17:07:06.000Z","dependencies_parsed_at":"2024-02-03T11:22:20.607Z","dependency_job_id":"ea762645-5653-456f-93a3-9c39159e474d","html_url":"https://github.com/Vafdaf12/dithery-do","commit_stats":null,"previous_names":["vafdaf12/dithery-do"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Vafdaf12/dithery-do","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vafdaf12%2Fdithery-do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vafdaf12%2Fdithery-do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vafdaf12%2Fdithery-do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vafdaf12%2Fdithery-do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vafdaf12","download_url":"https://codeload.github.com/Vafdaf12/dithery-do/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vafdaf12%2Fdithery-do/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33253749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["art","colorimetry","cpp","dithering","image-processing"],"created_at":"2024-11-20T19:45:17.399Z","updated_at":"2026-05-20T09:34:44.235Z","avatar_url":"https://github.com/Vafdaf12.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dithery-Do\r\nDithery-Do is mostly an artistic project that provides methods to colour an image according\r\nto some pre-defined pallette, kind of like how an artists paints their pictures. More generally\r\nthough, this project serves as an exploration of image dithering and efficient image processing.\r\n\r\n![DitheryDo](https://github.com/Vafdaf12/dithery-do/assets/25525445/696a93a3-4a34-46c9-8591-986bcd9bbccb)\r\n\r\n# Usage\r\nThe general CLI syntax for Dithery-Do is the following\r\n\r\n```\r\nDitheryDo [--help] [--version] [-o VAR] -algo VAR -space VAR --channel VAR input palette\r\n```\r\n\r\nwhere:\r\n- `input` = The input image\r\n- `palette` = Path to palette file\r\n- `-o` = Path to output file (`output.jpg` by default)\r\n- `-a`/`-algo` = The color selection algorithm to use\r\n- `-s`/`-space` = The color space to use for selection\r\n- `-v`/`--vector` = The direction vector to use for the `dot_blend` algorithm (see below)\r\n\r\n*Note: the necessary parameters can also be found by running `./DitherDo --help`*\r\n\r\nDithery Do currently supports RGB, XYZ, and L*a*b* (using D65 or D50 as illuminant)\r\n\r\nThe selection algorithms are a bit more involved:\r\n- `euclid` = Smallest euclidian distance from the target\r\n- `line` = Blends between 2 selected colors based on a dot product\r\n- `dot_blend` = Partitions the palette based on a dot product and blends between colors from each partition\r\n\r\n# Building\r\nBuilding this project requires CMake, which can be installed on Debian-based OSs with\r\n```bash\r\nsudo apt install cmake\r\n```\r\nOnce installed, the project can be built with\r\n```bash\r\nmake\r\n```\r\nThe compiled binary can be found in `build/DitheryDo`\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvafdaf12%2Fdithery-do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvafdaf12%2Fdithery-do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvafdaf12%2Fdithery-do/lists"}