{"id":21089510,"url":"https://github.com/toni08bit/brightnessclamp","last_synced_at":"2025-03-14T06:13:41.309Z","repository":{"id":251502048,"uuid":"613284584","full_name":"toni08bit/BrightnessClamp","owner":"toni08bit","description":"Clamp the grayscale of an image","archived":false,"fork":false,"pushed_at":"2023-03-13T09:48:48.000Z","size":782,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T00:50:32.861Z","etag":null,"topics":["image-processing-python","pil","pillow","post-processing","python3"],"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/toni08bit.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":"2023-03-13T09:18:38.000Z","updated_at":"2023-03-13T09:47:17.000Z","dependencies_parsed_at":"2024-08-03T14:46:59.389Z","dependency_job_id":"ff837bde-f631-4b06-8970-dc1e8e07ac19","html_url":"https://github.com/toni08bit/BrightnessClamp","commit_stats":null,"previous_names":["toni08bit/brightnessclamp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni08bit%2FBrightnessClamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni08bit%2FBrightnessClamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni08bit%2FBrightnessClamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni08bit%2FBrightnessClamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toni08bit","download_url":"https://codeload.github.com/toni08bit/BrightnessClamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532564,"owners_count":20306157,"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-python","pil","pillow","post-processing","python3"],"created_at":"2024-11-19T21:29:18.074Z","updated_at":"2025-03-14T06:13:41.280Z","avatar_url":"https://github.com/toni08bit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# BrightnessClamp\n## What's this?\nA little test on how to \"restore\" image readability by using all of the color space up (0-255) grayscale.\n\n## Demo\n### Before\n![Before (You can't see anything)](https://raw.githubusercontent.com/BillPlayzToday/BrightnessClamp/main/test.jpeg)\n### After\n![After (You can recognize stuff)](https://raw.githubusercontent.com/BillPlayzToday/BrightnessClamp/main/test-clamped.jpeg)\n![After (with annotations)](https://raw.githubusercontent.com/BillPlayzToday/BrightnessClamp/main/test-annotated.jpeg)\nBy the way: image was taken from a [SurveillancePi](https://github.com/BillPlayzToday/SurveillancePi) Raspberry Pi Camera System.\n\n## Installation\nYou will need to install Pillow (PIL fork) like [this](https://pillow.readthedocs.io/en/stable/installation.html) and clone the repository to your computer.\n\n## Usage\nThen execute the python script with the input image path as an argument:\n\n    python3 main.py image.jpg\n\nSupports all the formats that Pillow supports. Transparency should be avoided.\nThe output file should be available at ***image*-clamped.jpeg**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni08bit%2Fbrightnessclamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoni08bit%2Fbrightnessclamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni08bit%2Fbrightnessclamp/lists"}