{"id":24514913,"url":"https://github.com/kociumba/kpixel","last_synced_at":"2025-11-03T18:59:45.422Z","repository":{"id":236567641,"uuid":"792871468","full_name":"kociumba/Kpixel","owner":"kociumba","description":"Pixel sorting in go with options for column and row sorting","archived":false,"fork":false,"pushed_at":"2024-06-19T17:48:14.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T01:15:01.083Z","etag":null,"topics":["cli","go","golang","pixel-sorter","pixel-sorting"],"latest_commit_sha":null,"homepage":"https://ksuite.framer.website","language":"Go","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/kociumba.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":"2024-04-27T19:35:46.000Z","updated_at":"2024-06-19T17:47:35.000Z","dependencies_parsed_at":"2024-06-20T05:26:26.565Z","dependency_job_id":"e7fddd6b-28bf-425b-8cf3-587c8249880d","html_url":"https://github.com/kociumba/Kpixel","commit_stats":null,"previous_names":["kociumba/pixel-soter","kociumba/kpixel"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kociumba%2FKpixel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kociumba%2FKpixel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kociumba%2FKpixel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kociumba%2FKpixel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kociumba","download_url":"https://codeload.github.com/kociumba/Kpixel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243716218,"owners_count":20336105,"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","go","golang","pixel-sorter","pixel-sorting"],"created_at":"2025-01-22T01:15:07.987Z","updated_at":"2025-11-03T18:59:45.372Z","avatar_url":"https://github.com/kociumba.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003eWelcome to\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Kpixel.svg\" alt=\"Kpixel\" title=\"Kpixel logo\"\u003e\n\u003c/p\u003e\n\n## Overview\n\nI got inspired by the YouTube video by Acerola on pixel sorting.\n\nSo I made my own implementation in go, this is by no means feature complete.\n\nKpixel is a part of my K suite of tools that so far includes:\n- [Ktool](https://github.com/kociumba/ktool)\n- [Ksorter](https://github.com/kociumba/ksorter)\n- [Kinjector](https://github.com/kociumba/Kinjector)\n- [Kpixel](https://github.com/kociumba/kpixel) - this repo\n\n## Installation\n\nRight now the only way to install is to compile it yourself which only requires [go](https://go.dev/dl/).\n\nI will create a scoop manifest for it in the future.\n\n## Usage\n\n\u003e [!IMPORTANT]\n\u003e for `-sort column` and `-sort row` the `-method` flag is requred, for `-sort random` the `-chunk` flag defines the size of the chunks in pixels e.g. `-sort random -chunk 100` will divide the image in to 100x100 chunks.\n\n`-sort` defines the way we sort pixels, options are:\n\n\u003e - `column` (sorts pixels in respective columns, preserves vertical elements)\n\u003e - `row` (sorts pixels in respective rows, preserves horizontal elements)\n\u003e - `random` (randomly sorts pixels in chunks)\n\n`-chunk` number of chunks to divide the image in to when using random sort defaults to 10 (only relevant if using random sort)\n\n\u003e [!NOTE]\n\u003e if the chunk size is bigger than the width of the image in pixels the whole image gets randomised and essentially becomes noise\n\n`-method` defines the value that is used to sort the pixels, options are:\n\n\u003e - `hue` (very noisy)\n\u003e - `luminosity` (smooth and looks good)\n\u003e - `saturation` (kinda buggy, needs more testing)\n\u003e - `red` (looks good depending on the image)\n\u003e - `green` (looks good depending on the image)\n\u003e - `blue` (looks good depending on the image)\n\n\u003e [!IMPORTANT]\n\u003e always pass the path to the image you want to sort as the last argument\n\u003e\n\u003e if you don't pass the image path, a file picker will open prompting you to pick an image \n\nOutput always goes into the folder of the original image with a .sorted extension to indicate that it has been sorted.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkociumba%2Fkpixel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkociumba%2Fkpixel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkociumba%2Fkpixel/lists"}