{"id":19956073,"url":"https://github.com/dhhruv/pixxia","last_synced_at":"2025-05-03T19:32:38.550Z","repository":{"id":43226771,"uuid":"344360348","full_name":"dhhruv/Pixxia","owner":"dhhruv","description":"🖼 Pixxia uses lossy compression methods to reduce the document size of your JPG/PNG files.","archived":false,"fork":false,"pushed_at":"2023-10-03T22:42:23.000Z","size":68,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T20:56:16.596Z","etag":null,"topics":["cli","compression","gui","hacktoberfest","hacktoberfest2023","image","image-compression","image-compressor","jpg","library","png","png-compression","python","shell","terminal","testing","tkinter","tkinter-gui"],"latest_commit_sha":null,"homepage":"","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/dhhruv.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}},"created_at":"2021-03-04T05:27:17.000Z","updated_at":"2023-09-26T17:12:00.000Z","dependencies_parsed_at":"2023-01-22T00:21:05.157Z","dependency_job_id":null,"html_url":"https://github.com/dhhruv/Pixxia","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhhruv%2FPixxia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhhruv%2FPixxia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhhruv%2FPixxia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhhruv%2FPixxia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhhruv","download_url":"https://codeload.github.com/dhhruv/Pixxia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252242206,"owners_count":21717120,"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","compression","gui","hacktoberfest","hacktoberfest2023","image","image-compression","image-compressor","jpg","library","png","png-compression","python","shell","terminal","testing","tkinter","tkinter-gui"],"created_at":"2024-11-13T01:29:58.614Z","updated_at":"2025-05-03T19:32:38.097Z","avatar_url":"https://github.com/dhhruv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/72680045/110060576-21bf2300-7d8c-11eb-81df-dafd64ee7b06.png\"\u003e\n  \u003ch2 align=\"center\" style=\"margin-top: -4px !important;\"\u003eComplete Solution for Compression of JPG/PNG Files.\u003c/h2\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/dhhruv/Pixxia/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/dhhruv/Pixxia?color=informational\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.python.org/\"\u003e\n    \t\u003cimg src=\"https://img.shields.io/badge/python-v3.8-informational\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/dhhruv/Pixxia\"\u003e\n    \t\u003cimg src=\"https://img.shields.io/github/v/release/dhhruv/Pixxia\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/downloads/dhhruv/Pixxia/total?color=important\"\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/dhhruv/Pixxia\"\u003e\n      \u003cimg src=\"http://ForTheBadge.com/images/badges/made-with-python.svg\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003cp align=\"center\"\u003e   \n\t\u003ca href=\"https://dev.to/dhhruv/pixxia-compress-your-images-in-optimal-quality-for-free-8mi\"\u003e\n    \t\u003cimg src=\"https://img.shields.io/badge/dev.to-0A0A0A?style=for-the-badge\u0026logo=dev.to\u0026logoColor=white\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n# Pixxia:\n\nThe above script uses lossy compression methods to reduce the document size of your JPG/PNG files. This is achieved by rounding up the (R,G,B) values from each pixel of it's unit digit in your image, therefore lesser number of bytes are required to store the information. Sometimes, there are major changes in the bytes stored well as sometimes there are minor changes so it depends entirely on the pixels of the image.\n\n## Image Comparison:\n\n\u003cp align=\"center\"\u003e\n\t\u003ch4 align=\"left\" style=\"margin-top: -4px !important;\"\u003eImage 1:\u003c/h4\u003e\n\t\u003cimg src=\"https://user-images.githubusercontent.com/72680045/110210445-c5f1b880-7eb7-11eb-9a11-b1943089cc07.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ch4 align=\"left\" style=\"margin-top: -4px !important;\"\u003eImage 2:\u003c/h4\u003e\n\t\u003cimg src=\"https://user-images.githubusercontent.com/72680045/110210444-c427f500-7eb7-11eb-8dd7-72f73c58f5fe.png\"\u003e\n\u003c/p\u003e\n\n\u003e For Images \u003e= 6 MB you may see a great compression ratio as compared to the images which are smaller than that.\n\n## Setup (Windows):\n\n1. Install Python\n2. Clone this repository\n```\ngit clone https://github.com/dhhruv/Pixxia.git\n```\n\n3. Install, create and activate virtual environment.\nFor instance we create a virtual environment named 'venv'.\n```\npip install virtualenv\npython -m virtualenv venv\nvenv\\Scripts\\activate.bat\n```\n\n4. Install dependencies\n```\npip install -r requirements.txt\n```\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://user-images.githubusercontent.com/72680045/110210540-1d902400-7eb8-11eb-85e7-917f006069ec.PNG\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\n## How To Use !\n1. Click SELECT INPUT FOLDER Button to select the INPUT FOLDER which contains all the Images to be Compressed/Optimized.\n2. Click SELECT OUTPUT FOLDER Button to select the OUTPUT FOLDER which will contain all the the Compressed/Optimized Images.\n3. Hit the COMPRESS Button and the INPUT FOLDER containing Supported Image Formats will be Compressed and saved in the OUTPUT FOLDER.\n4. Click CLEAR Button to reset the input fields and status bar. (If needed)\n\n\u003e NOTE: Recommended to keep INPUT and OUTPUT Folder different for your ease to differentiate between Optimized and Unoptimized Images.\n\n## Important Note:\n\n-\t**This Script goes through each pixel of every supported image in the INPUT folder so it'll take more time than usual to process the Image.**\n-\t**This Script is just a Prototype so results may be unexpected.**\n-\t**The Authors will not be responsible for any kind of loss of data so it is essential to have a Backup of Original Data placed in the Input Folder. Read the [LICENSE](https://github.com/dhhruv/Pixxia/blob/master/LICENSE) for more information.**\n\n## Image Credits:\n- [Unsplash](https://unsplash.com/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhhruv%2Fpixxia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhhruv%2Fpixxia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhhruv%2Fpixxia/lists"}