{"id":22676688,"url":"https://github.com/nenotriple/pixel8","last_synced_at":"2025-03-29T12:44:34.536Z","repository":{"id":257376114,"uuid":"858080008","full_name":"Nenotriple/Pixel8","owner":"Nenotriple","description":"Pixelate an image using various methods and conditions.","archived":false,"fork":false,"pushed_at":"2024-09-24T23:33:22.000Z","size":2998,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T13:43:39.689Z","etag":null,"topics":["edit-image","editing-image","image-manipulation","image-processing","pixel-art","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nenotriple.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}},"created_at":"2024-09-16T09:16:07.000Z","updated_at":"2025-01-22T09:05:01.000Z","dependencies_parsed_at":"2024-12-09T17:59:01.402Z","dependency_job_id":"cfd75476-01b7-4dba-95f0-de569c188822","html_url":"https://github.com/Nenotriple/Pixel8","commit_stats":null,"previous_names":["nenotriple/pixel8"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenotriple%2FPixel8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenotriple%2FPixel8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenotriple%2FPixel8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nenotriple%2FPixel8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nenotriple","download_url":"https://codeload.github.com/Nenotriple/Pixel8/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246187218,"owners_count":20737459,"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":["edit-image","editing-image","image-manipulation","image-processing","pixel-art","stable-diffusion"],"created_at":"2024-12-09T17:58:55.401Z","updated_at":"2025-03-29T12:44:34.513Z","avatar_url":"https://github.com/Nenotriple.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/24299630-81ff-4a10-a40e-f31cf25a447e\" alt=\"icon\" width=\"50\"\u003e\n  Pixel8\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003ePixelate an image using various methods and conditions.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/20d3bbad-047b-4017-b511-4d7adef5758b\" alt=\"cover\"\u003e\n\u003c/p\u003e\n\n\n![head_px_group](https://github.com/user-attachments/assets/f159ed1a-10f7-403d-877c-d79126b2718e)\n\n\n\n# 📝 Usage\n\n\u003e [!NOTE]\n\u003e  - Supported image types: `.png` `.webp` `.jpg` `.jpeg` `.jpg_large` `.bmp` `.jfif` `.tiff` `.tif` `.ico`\n\nThis tool is designed to be used with AI-generated images in the pixel art style. It's common for these images to be generated with *mushed* colors and/or sloppy pixel shaping. Processing those images with this tool can enhance the pixel art style, and improve image quality.\n\n\n---\n\n![Before__After_400](https://github.com/user-attachments/assets/58413593-61ce-424b-989b-257c862fd8c3)\n\n\n# 💡 Tips and Features\n\n\u003cdetails\u003e\n  \u003csummary\u003eAdd to custom palette list...\u003c/summary\u003e\n\n1) Create a folder named `Palettes` in the same directory as the app.\n2) Place any `PNG` image into the `Palettes` folder.\n3) Restart the app and it will scan the `Palettes` folder for new images.\n4) Palettes will appear using their filename in the custom palette drop-down menu.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eDrag-and-Drop files into input fields...\u003c/summary\u003e\n  \n![Drag images to input fields](https://github.com/user-attachments/assets/14864cd6-f73e-4888-b779-c0460ad133ff)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eUse another image as the color palette...\u003c/summary\u003e\n  \n![Use another image as the color palette](https://github.com/user-attachments/assets/7f55da6e-3620-44a1-88d9-850aa942ae93)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003ePick from a list of pre-defined color palettes...\u003c/summary\u003e\n  \n![Pre-defined custom palettes](https://github.com/user-attachments/assets/40bfce46-d387-4ddc-b23e-7b78b709b347)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eNormal and Blend color modes...\u003c/summary\u003e\n  \n![Normal and Blend color modes](https://github.com/user-attachments/assets/adf1504d-def0-400d-bde8-a6be065d9ca5)\n\n\u003c/details\u003e\n\n\n# 🚩 Requirements\n\n\u003e [!TIP]\n\u003e You don't need to worry about any requirements with the Windows [💾portable/executable](https://github.com/Nenotriple/Pixel8/releases?q=executable\u0026expanded=true) version.\n\n\u003cdetails\u003e\n  \u003csummary\u003ePython requirements...\u003c/summary\u003e\n  \n**Python 3.10+**\n\nYou will need `Pillow`, `NumPy`, `TkinterDnD2`, `scikit-learn`, and `matplotlib`:\n- `pip install pillow numpy tkinterdnd2 scikit-learn matplotlib`\n\nOr use the included `requirements.txt` when creating your virtual enviroment.\n\n\u003c/details\u003e\n\n\n# 📜 Version History\n\n[💾v1.01](https://github.com/Nenotriple/Pixel8/releases/tag/v1.01)\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick here to view release notes for v1.01\u003c/summary\u003e\n\n\n  - New:\n    - `Batch Mode`: Allows input/output entries to accept folder paths.\n      - Processes all supported images in subfolders while maintaining folder structure.\n    - Before and After preview images are now displayed. *(When not in Batch mode)*\n      - The Before image also works as a drop target to set the input image path.\n    - Right-click on the palette in the UI to quickly save the palette image with `Save As...`.\n    - Additional palettes can be used by placing `.PNG` files in a `Palettes` folder in the app's parent directory.\n        - Supports up to 256 colors per palette.\n    - `Sharpen` Setting: Enhances image sharpness to improve pixel contrast and color.\n      - Sharpen value range: From -100, to 100.\n    - You can now choose between two color transfer modes: `Normal` and `Blend`.\n      - `Normal` mode assigns each pixel to the nearest color in the palette. *(Previous behavior)*\n      - `Blend` mode blends the two nearest colors based on their distance.\n    - Added `Open` buttons to each input entry to quickly open the selected directory.\n\n\n  - Fixed:\n    - Fixed error when processing non-RGB format images. Alpha channels are now preserved.\n    - Fixed issue where color palettes included colors not present in the input image.\n    - Unsupported file types can no longer be drag-and-dropped into input fields.\n\n\n  - Other changes:\n    - Image processing is ~70% faster (Kmeans/Normal) due to improved pixel-color handling.\n    - Setting `Image Downscale` to `0`, or `1`, now disables downscaling.\n    - Palette images are now saved as 1x1 grids, expanding in width.\n    - Palettes contain only unique colors, sorted by brightness.\n      - Unfortunately, it's not easy to prevent very *similar* colors from being included.\n    - Maximum number of colors changed from 999 to 256.\n    - Supported image file types now include: `.jfif`, `.tiff`, `.tif`, and `.ico`.\n    - All spinboxes can be adjusted with the mouse-wheel.\n    - Tooltips now mostly appear when hovering the mouse over label text and not input widgets, reducing their annoyance.\n    - Numerous small tweaks, fixes, and improvements in both logic and UI.\n      - The app has been internally restructured and organized.\n     \n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnenotriple%2Fpixel8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnenotriple%2Fpixel8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnenotriple%2Fpixel8/lists"}