{"id":23127467,"url":"https://github.com/zeynepcol/pixel-matrix-converter","last_synced_at":"2025-06-24T22:37:37.742Z","repository":{"id":260641973,"uuid":"879234314","full_name":"zeynepcol/Pixel-Matrix-Converter","owner":"zeynepcol","description":"Extracts pixel data from images and converts it into array with RGB values and intensity mapping.","archived":false,"fork":false,"pushed_at":"2024-11-01T14:22:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T17:14:19.966Z","etag":null,"topics":["image-processing","pixel-art","python","rgb"],"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/zeynepcol.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-10-27T11:25:20.000Z","updated_at":"2024-11-01T14:22:21.000Z","dependencies_parsed_at":"2024-11-01T15:24:45.187Z","dependency_job_id":"c38876f2-64f5-4bd6-a66d-f651f5e0e6c1","html_url":"https://github.com/zeynepcol/Pixel-Matrix-Converter","commit_stats":null,"previous_names":["zeynepcol/pixel-matrix-converter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynepcol%2FPixel-Matrix-Converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynepcol%2FPixel-Matrix-Converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynepcol%2FPixel-Matrix-Converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeynepcol%2FPixel-Matrix-Converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeynepcol","download_url":"https://codeload.github.com/zeynepcol/Pixel-Matrix-Converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128743,"owners_count":20888234,"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","pixel-art","python","rgb"],"created_at":"2024-12-17T09:10:10.567Z","updated_at":"2025-04-04T05:42:00.987Z","avatar_url":"https://github.com/zeynepcol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"left\"\u003eImage Pixel Data Extraction Script\u003c/h1\u003e\n\nThis project uses **Python's PIL (Pillow)** library to load, process, and extract pixel data from an image file. The program iterates over each pixel, computes an \"intensity\" value, and outputs pixel data in a format suitable for C++ array use, making it ideal for projects that involve image analysis or pixel-based graphical effects.\n\u003ch3 align=\"left\"\u003eFEATURES\u003c/h3\u003e\n\n**1. Image Loading**\n\n\n\nOpens an image file using **PIL.Image**.\n\n\n\n**2. Image Resizing**\n\n\nOptionally resizes the image to specified dimensions (default: 50x50 pixels).\n\n\n\n**3. RGB Conversion**\n\n\n Converts the image to RGB mode, ensuring compatibility with RGB-based calculations.\n \n\n**4. Intensity Calculation**\n\nComputes pixel intensity based on the average RGB values.\n\n\n**5. C++ Array Output**\n\nOutputs the pixel data in a C++ compatible array format for easy integration.\n\n\n\n\u003ch3 align=\"left\"\u003eRequirements\u003c/h3\u003e\n\n\n**Python 3.6+** \n\n\n\n\n**Pillow library (pip install pillow)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeynepcol%2Fpixel-matrix-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeynepcol%2Fpixel-matrix-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeynepcol%2Fpixel-matrix-converter/lists"}