{"id":23359900,"url":"https://github.com/markmll/ppmtomask","last_synced_at":"2026-02-18T17:31:34.892Z","repository":{"id":184173211,"uuid":"570814461","full_name":"MarkMLl/ppmtomask","owner":"MarkMLl","description":"Generate a mask from a .ppm file based on pixel saturation or colour.","archived":false,"fork":false,"pushed_at":"2022-11-26T08:05:44.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T23:34:19.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Pascal","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/MarkMLl.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}},"created_at":"2022-11-26T07:59:55.000Z","updated_at":"2022-11-26T08:03:18.000Z","dependencies_parsed_at":"2023-07-27T11:05:22.575Z","dependency_job_id":null,"html_url":"https://github.com/MarkMLl/ppmtomask","commit_stats":null,"previous_names":["markmll/ppmtomask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarkMLl/ppmtomask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkMLl%2Fppmtomask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkMLl%2Fppmtomask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkMLl%2Fppmtomask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkMLl%2Fppmtomask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkMLl","download_url":"https://codeload.github.com/MarkMLl/ppmtomask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkMLl%2Fppmtomask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29587081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-12-21T11:12:23.195Z","updated_at":"2026-02-18T17:31:34.869Z","avatar_url":"https://github.com/MarkMLl.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ppmtomask\nGenerate a mask from a .ppm file based on pixel saturation or colour.\n\nRead a .ppm file (P3 or P6) as named by the final parameter of the command line, and generate a mask based either on the degree of pixel saturation or on a pixel being a specific colour.\n\nIf the first parameter on the command line is -saturation then the second is assumed to be a percentage, pixels with more than this saturation (e.g. pure red or blue as distinct from medium-saturation purple) are output black with everything else white.\n\nIf the first parameter on the command line is -colour then the second etc. are assumed to be RGB triplets each expressed as six hex digits, pixels with any precisely-matched colour are output black with everything else white.\n\nThe intention of this program is to generate masks to allow coloured lines or areas that have been overlaid onto a photograph to be extracted and reused. As a specific example, a synoptic weather chart might have its front lines removed, a rainfall radar image overlaid, and the fronts replaced as the top layer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmll%2Fppmtomask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkmll%2Fppmtomask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmll%2Fppmtomask/lists"}