{"id":16769234,"url":"https://github.com/afro-coder/epaper-badge","last_synced_at":"2025-04-10T19:33:38.821Z","repository":{"id":64177032,"uuid":"569860611","full_name":"afro-coder/epaper-badge","owner":"afro-coder","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-16T14:06:41.000Z","size":232,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T17:11:53.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/afro-coder.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":"2022-11-23T19:29:42.000Z","updated_at":"2024-09-16T14:06:44.000Z","dependencies_parsed_at":"2025-02-17T21:42:40.994Z","dependency_job_id":null,"html_url":"https://github.com/afro-coder/epaper-badge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afro-coder%2Fepaper-badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afro-coder%2Fepaper-badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afro-coder%2Fepaper-badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afro-coder%2Fepaper-badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afro-coder","download_url":"https://codeload.github.com/afro-coder/epaper-badge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281418,"owners_count":21077423,"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":[],"created_at":"2024-10-13T06:13:39.670Z","updated_at":"2025-04-10T19:33:38.800Z","avatar_url":"https://github.com/afro-coder.png","language":"Python","readme":"# Pico 2.7 ePaper Code\n\nThis is a badge I made using the waveshare 2.7 inch ePaper pico display\n\nThe `fbimage.py` is used to convert images from pbm to bytecode in the Framebuffer format. I found it from this [repository](https://github.com/JPFrancoia/esp32_devkit_waveshare_eink_screen).\n\nTo display images on the e-paper, we have to first convert the image to Black and White I used Gimp to do that.\n- In Gimp open the image =\u003e Go to the Image Option\n  Click on Mode =\u003e Indexed =\u003e Select Black and white mode\n\n- Then make sure to scale the image to the size you want it to be.\n- Save the image as `bmp` and then go to the command line, you'll need imagick for this.\n```\nconvert image.bmp image.pbm\n```\n\n- Once you export the image to bmp, run the python script `python fbimage.py image.pbm`\n\nThen copy the hexdump and add it to your script and you'll be able to display images.\n\nFew badges I've made in the past.\n\n![IMG_20240101_001351_946-1](https://github.com/user-attachments/assets/f46d5ebc-25aa-4418-a65f-afdbcc1fc9b6)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafro-coder%2Fepaper-badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafro-coder%2Fepaper-badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafro-coder%2Fepaper-badge/lists"}