{"id":28407114,"url":"https://github.com/implferris/image2bytes","last_synced_at":"2025-06-30T20:34:10.457Z","repository":{"id":268904466,"uuid":"905817029","full_name":"ImplFerris/image2bytes","owner":"ImplFerris","description":"Converting images into byte arrays (or byte arrays back into images), for use with monochrome displays like OLEDs","archived":false,"fork":false,"pushed_at":"2024-12-21T04:06:29.000Z","size":237,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T09:11:32.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://implferris.github.io/image2bytes/","language":"JavaScript","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/ImplFerris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"javl","buy_me_a_coffee":"javl"}},"created_at":"2024-12-19T15:23:43.000Z","updated_at":"2025-05-13T01:49:52.000Z","dependencies_parsed_at":"2024-12-19T16:40:58.756Z","dependency_job_id":null,"html_url":"https://github.com/ImplFerris/image2bytes","commit_stats":null,"previous_names":["implferris/image2bytes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ImplFerris/image2bytes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImplFerris%2Fimage2bytes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImplFerris%2Fimage2bytes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImplFerris%2Fimage2bytes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImplFerris%2Fimage2bytes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImplFerris","download_url":"https://codeload.github.com/ImplFerris/image2bytes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImplFerris%2Fimage2bytes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262600443,"owners_count":23335074,"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":"2025-06-02T00:09:16.176Z","updated_at":"2025-06-29T13:31:50.336Z","avatar_url":"https://github.com/ImplFerris.png","language":"JavaScript","funding_links":["https://github.com/sponsors/javl","https://buymeacoffee.com/javl"],"categories":[],"sub_categories":[],"readme":"## Image2Bytes\n\nImage2Bytes is a fork of [image2cpp](https://github.com/javl/image2cpp) developed by the [Jasper van Loenen](https://github.com/javl). The original codebase generates arudino and cpp code. This repo is meant to be used mainly for rust version of it. \n\nA simple tool for converting images into byte arrays (or byte arrays back into images), designed for use with monochrome displays like OLEDs. You can also input a byte array to reconstruct the image, which can be useful for debugging or working with images when only the byte array form is available.\n\nDid you find this tool useful? Please support the original repository:\n[https://github.com/javl/image2cpp](https://github.com/javl/image2cpp)\n\n### Running the tool\nYou don't need any special dependencies / internet connection; all the necessary parts sit in a single .html file. So just open this index.html page in a (recent) browser to run the tool.\n\nOr you can use the online version at https://implferris.github.io/image2bytes\n\n### Example Rust code\n//TODO: Link to the tutorial\n\n### Screen types\nIt was created with a 128x64 pixel monochrome OLED display in mind, but it is designed to work with most similar displays. Some export settings may need adjustment depending on your specific display, and these are explained within the tool.\n\n### Credits to Original Repo Authors\nInitial code by [javl](https://github.com/javl) with aditional code by (in alphabetical order):\n* [akumpf](https://github.com/akumpf)\n* [Daniyal Warraich](https://github.com/daniyalw)\n* [davidalim](https://github.com/davidalim)\n* [dotcypress](https://github.com/dotcypress)\n* [Harry48225](https://github.com/harry48225)\n* [hurricaneJoef](https://github.com/hurricaneJoef)\n* [jochenderwae](https://github.com/jochenderwae)\n* [plewka](https://github.com/plewka)\n* [Sebski123](https://github.com/Sebski123)\n* [whoisnian](https://github.com/whoisnian)\n* [wiredolphin](https://github.com/wiredolphin).\n\nThe example sketch is based on code by [Adafruit](https://github.com/adafruit). Dithering code from [stellar-L3N-etag](https://github.com/reece15/stellar-L3N-etag).\n\n### License\n\n`image2bytes` is released under GPL v3. This means you can use the project in any way you want (use, adapt, distribute, etc.) as long as you share any changes and link back to this repository.\n\nThis project is a derivative of [`image2cpp`](https://github.com/javl/image2cpp), originally created by [javl](https://github.com/javl) and released under GPL v3. Significant changes and adaptations have been made to create `image2bytes`. For more information, refer to the [LICENSE.md](LICENSE.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimplferris%2Fimage2bytes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimplferris%2Fimage2bytes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimplferris%2Fimage2bytes/lists"}