{"id":18561836,"url":"https://github.com/pseudomanifold/pixsort","last_synced_at":"2025-05-15T16:35:07.192Z","repository":{"id":92125982,"uuid":"129542138","full_name":"Pseudomanifold/Pixsort","owner":"Pseudomanifold","description":"Feature-driven pixel sorting in images","archived":false,"fork":false,"pushed_at":"2018-08-05T17:03:31.000Z","size":93,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T12:33:25.934Z","etag":null,"topics":["image-processing","pillow","pixel-art","pixel-sorting","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Pseudomanifold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-04-14T18:07:04.000Z","updated_at":"2024-11-22T07:35:11.000Z","dependencies_parsed_at":"2023-03-13T17:33:25.397Z","dependency_job_id":null,"html_url":"https://github.com/Pseudomanifold/Pixsort","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/Pseudomanifold%2FPixsort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pseudomanifold%2FPixsort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pseudomanifold%2FPixsort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pseudomanifold%2FPixsort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pseudomanifold","download_url":"https://codeload.github.com/Pseudomanifold/Pixsort/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254377773,"owners_count":22061219,"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":["image-processing","pillow","pixel-art","pixel-sorting","python"],"created_at":"2024-11-06T22:08:02.460Z","updated_at":"2025-05-15T16:35:07.173Z","avatar_url":"https://github.com/Pseudomanifold.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pixsort: An artistic pixel sorting program\n==========================================\n\nThe purpose of this script is to perform a \u0026ldquo;pixel sorting\u0026rdquo;\neffect that purposefully perturbs an image in order to pretend that it\nwas damaged.\n\nA simple sorting algorithm is used at present: after sharpening the\nimages, edges are detected and pixels are being sorted from the edge\nwith highest intensity\u0026nbsp;(for every row of the image). This is not\nthe most sophisticated algorithm yet but it already yields some\ninteresting results.\n\nUsage\n-----\n\nUse `-f` to indicate the fraction of all rows of the image that should\nbe sorted. To glitch all rows, use `1.0`:\n\n    $ ./pixsort.py -f 1.0 Images/Lena_small.jpg\n\nIf not specified differently with `-o`, the new image will be the\nbasename of the old image with plus `_sorted`. For this example,\nthe file name will be `Lena_small_sorted.jpg`. See below for the\nresults.\n\nExamples\n--------\n\n\u003cfigure\u003e\n  \u003cimg src=\"Images/Lena_small.jpg\" alt=\"Lena (original)\" width=\"300px\" /\u003e\n  \u003cfigcaption\u003eLena (original)\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n\u003cfigure\u003e\n  \u003cimg src=\"Images/Lena_small_sorted.jpg\" alt=\"Lena (sorted)\" width=\"300px\" /\u003e\n  \u003cfigcaption\u003eLena (sorted)\u003c/figcaption\u003e\n\u003c/figure\u003e\n\nRequirements\n------------\n\n- `PIL`\n\nFuture extensions\n-----------------\n\n- Permit sorting of columns as well\n- Handle RGB images\n- More algorithms for glitching an image\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomanifold%2Fpixsort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpseudomanifold%2Fpixsort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomanifold%2Fpixsort/lists"}