{"id":21447198,"url":"https://github.com/githubprankster/palette-master","last_synced_at":"2025-03-17T01:43:41.027Z","repository":{"id":157731317,"uuid":"196672739","full_name":"GithubPrankster/Palette-Master","owner":"GithubPrankster","description":"A small c++ command line tool for converting images to a palette with indexed dithering.","archived":false,"fork":false,"pushed_at":"2019-07-13T03:48:11.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T11:34:23.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/GithubPrankster.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}},"created_at":"2019-07-13T03:16:26.000Z","updated_at":"2022-08-12T07:09:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"41a26c38-f0ff-41bb-ace5-69925f3b6e0a","html_url":"https://github.com/GithubPrankster/Palette-Master","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GithubPrankster%2FPalette-Master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GithubPrankster%2FPalette-Master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GithubPrankster%2FPalette-Master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GithubPrankster%2FPalette-Master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GithubPrankster","download_url":"https://codeload.github.com/GithubPrankster/Palette-Master/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960449,"owners_count":20375101,"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":[],"created_at":"2024-11-23T03:09:20.281Z","updated_at":"2025-03-17T01:43:41.021Z","avatar_url":"https://github.com/GithubPrankster.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![hehref](https://cdn.discordapp.com/attachments/294228850500435969/599446666453712909/palTitle.png \"Not the blasting kind!\")\n\nA small c++ command line tool for converting images to a palette with indexed dithering.\n\n# Building\n*stb_image.h* and *stb_image_write.h* are required. The GCC compiler will likely only need as much as C++11/14(?) but I advise to always have the newest version (supporting experimental c++20 but nothing used by this prg). *OpenMP* can be enabled on the compiler with *-fopenmp* to also accelerate the main conversion loop.\n\n# Usage\n*palmaster path/to/palette.pal path/to/image.extension*\n\nPalettes follow a simple numbered format, such as the ones found in *Aseprite*.\n\n![example](https://cdn.discordapp.com/attachments/294228850500435969/599439471934701569/unknown.png \"Lots of numbers.\")\n\n**The conversion algorithm is based on the [Knoll-Yliluoma method by Bisqwit](https://bisqwit.iki.fi/story/howto/dither/jy/), a popular programming creator. Check his content out.**\n\n# Example of Usage\nHere is a photo of one of my characters.\n\n![dom](https://cdn.discordapp.com/attachments/294228850500435969/599441695687573544/dom.png \"Say hi to Dom.\")\n\nHere is the result from converting to the [*simplejpc-16* palette](https://lospec.com/palette-list/simplejpc-16).\n\n![domConvert](https://cdn.discordapp.com/attachments/294228850500435969/599441705623617546/result.png \"Dom plays checkers now.\")\n\nHave fun using this tool. If you have any questions or problems, put them on issues. You can also contact me on twitter @StarPrankster. I anwser at the speed of light.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubprankster%2Fpalette-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubprankster%2Fpalette-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubprankster%2Fpalette-master/lists"}