{"id":19430249,"url":"https://github.com/8dcc/hl-png","last_synced_at":"2026-02-23T22:19:55.584Z","repository":{"id":243736466,"uuid":"813175411","full_name":"8dcc/hl-png","owner":"8dcc","description":"Highlight PNG image","archived":false,"fork":false,"pushed_at":"2025-01-01T10:07:25.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T10:56:46.675Z","etag":null,"topics":["c","libpng","png","sdl"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8dcc.png","metadata":{"files":{"readme":"README.org","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":"2024-06-10T15:58:30.000Z","updated_at":"2025-03-17T10:24:28.000Z","dependencies_parsed_at":"2025-01-07T11:48:03.923Z","dependency_job_id":null,"html_url":"https://github.com/8dcc/hl-png","commit_stats":null,"previous_names":["8dcc/hl-png"],"tags_count":0,"template":false,"template_full_name":"8dcc/sdl-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fhl-png","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fhl-png/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fhl-png/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fhl-png/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8dcc","download_url":"https://codeload.github.com/8dcc/hl-png/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251664908,"owners_count":21624216,"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","libpng","png","sdl"],"created_at":"2024-11-10T14:24:07.889Z","updated_at":"2026-02-23T22:19:50.554Z","avatar_url":"https://github.com/8dcc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+title: hl-png\n#+options: toc:nil\n#+startup: showeverything\n#+author: 8dcc\n\n*Highlight PNG image.*\n\n#+TOC: headlines 2\n\n* Description\n\nThis simple program allows you to open a PNG image and draw/highlight any\nregion.\n\n* Arguments and keybinds\n\nThe program expects an optional list of arguments, followed by a filename as its\n*last* argument. These are the supported arguments.\n\n| Argument | Description                                                                                                     |\n|----------+-----------------------------------------------------------------------------------------------------------------|\n| ~-f~       | Launch the program in full-screen mode                                                                          |\n| ~-F~       | Launch the program in /fixed/ mode (i.e. the window is not resizable). Might be useful for tiling window managers |\n| ~-h~       | Show help and exit                                                                                              |\n\nFrom the program window, the following keybinds can be used.\n\n| Key    | Description                  |\n|--------+------------------------------|\n| ~LMouse~ | Draw in the window           |\n| ~Ctrl~   | If held, join lines together |\n| ~c~      | Clear the drawing            |\n| ~g~      | Toggle the background grid   |\n| ~f~, ~F11~ | Toggle full-screen           |\n\n* Building\n\nYou will need to install the =SDL2= and =libpng= libraries.\n\n#+begin_src bash\n# On debian-based distros\napt install libsdl2-dev libpng-dev\n\n# On arch-based distros\npacman -S sdl2 libpng\n#+end_src\n\nThen, you can build the project.\n\n#+begin_src bash\ngit clone https://github.com/8dcc/hl-png\ncd hl-png\nmake\n#+end_src\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fhl-png","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8dcc%2Fhl-png","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fhl-png/lists"}