{"id":23690799,"url":"https://github.com/dispatchcode/ppm-image-library","last_synced_at":"2025-07-16T01:04:37.544Z","repository":{"id":229352667,"uuid":"77720505","full_name":"DispatchCode/ppm-image-library","owner":"DispatchCode","description":"A simple PPM Image library written in C","archived":false,"fork":false,"pushed_at":"2017-01-04T17:31:35.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T09:09:50.396Z","etag":null,"topics":["c","library","ppm"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DispatchCode.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}},"created_at":"2016-12-31T02:03:30.000Z","updated_at":"2019-12-12T11:18:43.000Z","dependencies_parsed_at":"2024-03-23T19:22:28.176Z","dependency_job_id":"6b315dbc-8fb1-4a57-a0b5-9d5e27175feb","html_url":"https://github.com/DispatchCode/ppm-image-library","commit_stats":null,"previous_names":["dispatchcode/ppm-image-library"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DispatchCode/ppm-image-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DispatchCode%2Fppm-image-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DispatchCode%2Fppm-image-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DispatchCode%2Fppm-image-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DispatchCode%2Fppm-image-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DispatchCode","download_url":"https://codeload.github.com/DispatchCode/ppm-image-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DispatchCode%2Fppm-image-library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265472502,"owners_count":23771892,"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":["c","library","ppm"],"created_at":"2024-12-30T02:52:10.506Z","updated_at":"2025-07-16T01:04:37.499Z","avatar_url":"https://github.com/DispatchCode.png","language":"C","readme":"# PPM Image Library (v1.0)\nThis is the first version of the PPM Imgage library that I'm writing. This project is born only like a base for a future and small - but interesting - project.\n\nThe library is fully documented, and in a future version I will be use Doxygen for generating the documentation. \n\nThe following are few example (image converted because of their size):\n\n*Plus sign with background white color*\n\n```\nvoid third_test()\n{\n  int i, j;\n  \n  initialize(w, h);                         // Initialize the array pixels array to 0's\n  set_background_rgb(255, 255, 255);        // Set white color on all the background image\n  \n  // Horizontal Green line\n  for(i=0; i\u003cw; i++) \n  {\n    set_pixel_rgb(i,h/2,0,255,0);\n  }\n  \n  // Vertical red line\n  for(j=0; j\u003ch; j++) \n  {\n    set_pixel_rgb(w/2,j,255,0,0);\n  }\n  \n  // Save the image\n  save_image(\"test_set_bg_pixel.ppm\");\n}\n```\n\n![Set background and pixels](http://i64.tinypic.com/o0a1rr.png)\n\n\n##CHANGELOG##\n\n - 4 gennaio 2017 18:17: added background function(s) and rect function","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdispatchcode%2Fppm-image-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdispatchcode%2Fppm-image-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdispatchcode%2Fppm-image-library/lists"}