{"id":25440255,"url":"https://github.com/aka411/png-decoder","last_synced_at":"2025-05-15T13:34:23.030Z","repository":{"id":275265336,"uuid":"925585834","full_name":"aka411/png-decoder","owner":"aka411","description":"A simple PNG (Portable Network Graphic) file decoder written in plain JavaScript without using any external libraries.","archived":false,"fork":false,"pushed_at":"2025-02-08T07:35:27.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T11:35:24.377Z","etag":null,"topics":["deflate-decompression","huffman-decoding","lz77-decoding","png","png-decoder"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/aka411.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,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T08:12:15.000Z","updated_at":"2025-02-08T07:35:30.000Z","dependencies_parsed_at":"2025-02-01T09:25:16.851Z","dependency_job_id":"3fdb9109-01a0-4769-9055-b24303f1a043","html_url":"https://github.com/aka411/png-decoder","commit_stats":null,"previous_names":["aka411/png-decoder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aka411%2Fpng-decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aka411%2Fpng-decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aka411%2Fpng-decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aka411%2Fpng-decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aka411","download_url":"https://codeload.github.com/aka411/png-decoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349530,"owners_count":22056369,"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":["deflate-decompression","huffman-decoding","lz77-decoding","png","png-decoder"],"created_at":"2025-02-17T11:30:11.108Z","updated_at":"2025-05-15T13:34:22.977Z","avatar_url":"https://github.com/aka411.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# png-decoder\nA simple PNG (Portable Network Graphic) decoder written in plain JavaScript without using any libraries.I wrote this as a learning exercise and is one of my earlier projects and is badly organized and unreadable. \nI wrote this as i was curious about how file compression works.I learned a lot while writing this, implemented functions to decompress  data compressed using DEFLATE (lossless data compression algorithm involving a combination of LZ77 and Huffman coding).\n\n## Resources that helped me write this decoder\n\n* For Png Specification [PNG SPECIFICATION](http://www.libpng.org/pub/png/spec/1.2/png-1.2.pdf)\n* For ZLIB Compressed Data Format Specification [ZLIB Data Format](https://www.ietf.org/rfc/rfc1950.txt)\n* For Deflate compression [Deflate](https://www.rfc-editor.org/rfc/rfc1951.html)\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faka411%2Fpng-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faka411%2Fpng-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faka411%2Fpng-decoder/lists"}