{"id":13741355,"url":"https://github.com/levydsa/qoiz","last_synced_at":"2026-05-12T16:04:10.468Z","repository":{"id":208504269,"uuid":"721799164","full_name":"levydsa/qoiz","owner":"levydsa","description":"QOI image format decoder/encoder.","archived":false,"fork":false,"pushed_at":"2024-07-15T19:02:49.000Z","size":2860,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T05:12:45.762Z","etag":null,"topics":["qoi-format","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/levydsa.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":"2023-11-21T19:45:10.000Z","updated_at":"2024-07-15T19:02:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ff38e1f-88bc-43d2-ab4e-9479251dcf09","html_url":"https://github.com/levydsa/qoiz","commit_stats":null,"previous_names":["levydsa/qoiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/levydsa/qoiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levydsa%2Fqoiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levydsa%2Fqoiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levydsa%2Fqoiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levydsa%2Fqoiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levydsa","download_url":"https://codeload.github.com/levydsa/qoiz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levydsa%2Fqoiz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32946418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["qoi-format","zig","ziglang"],"created_at":"2024-08-03T04:00:58.222Z","updated_at":"2026-05-12T16:04:10.430Z","avatar_url":"https://github.com/levydsa.png","language":"Zig","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"\n\u003cimg align=\"right\" src=\"doc/qoiz.svg\"\u003e\n\nA simple and fast implementation of the QOI image format decoder and encoder.\n\n## Examples\n\n```zig\nconst qoiz = @import(\"qoiz\");\n\ntest \"image init reader\" {\n    const file = try fs.cwd().openFile(\"src/bench/data/dice.qoi\", .{});\n    defer file.close();\n\n    const image = try qoiz.Image(.rgb).initReader(testing.allocator, file.reader());\n    defer image.deinit();\n}\n```\n\n## Benchmark\n\n```console\n$ zig build bench --release=fast -- qoiz 1028\n         dice : dec.  1.182ms ±σ  0.046ms | enc.  2.258ms ±σ  1.181ms\n     edgecase : dec.  0.015ms ±σ  0.001ms | enc.  0.038ms ±σ  0.015ms\n      kodim10 : dec.  3.760ms ±σ  0.136ms | enc.  7.463ms ±σ  3.744ms\n      kodim23 : dec.  3.696ms ±σ  0.035ms | enc.  7.384ms ±σ  3.695ms\n     qoi_logo : dec.  0.078ms ±σ  0.002ms | enc.  0.188ms ±σ  0.078ms\n     testcard : dec.  0.123ms ±σ  0.004ms | enc.  0.255ms ±σ  0.123ms\ntestcard_rgba : dec.  0.132ms ±σ  0.004ms | enc.  0.271ms ±σ  0.132ms\nwikipedia_008 : dec.  9.707ms ±σ  0.167ms | enc. 19.508ms ±σ  9.680ms\n         zero : dec.  0.378ms ±σ  0.023ms | enc.  0.772ms ±σ  0.378ms\n```\n\nAnother library for zig made by @ikskuh\n```console\n$ zig build bench --release=fast -- zigqoi 1028\n         dice : dec.  2.477ms ±σ  0.086ms | enc.  2.617ms ±σ  2.471ms\n     edgecase : dec.  0.019ms ±σ  0.001ms | enc.  0.064ms ±σ  0.019ms\n      kodim10 : dec.  4.468ms ±σ  0.082ms | enc.  6.644ms ±σ  4.462ms\n      kodim23 : dec.  4.502ms ±σ  0.131ms | enc.  6.668ms ±σ  4.486ms\n     qoi_logo : dec.  0.117ms ±σ  0.004ms | enc.  0.333ms ±σ  0.117ms\n     testcard : dec.  0.162ms ±σ  0.005ms | enc.  0.321ms ±σ  0.162ms\ntestcard_rgba : dec.  0.178ms ±σ  0.004ms | enc.  0.309ms ±σ  0.178ms\nwikipedia_008 : dec. 12.448ms ±σ  0.251ms | enc. 16.965ms ±σ 12.387ms\n         zero : dec.  0.542ms ±σ  0.011ms | enc.  1.062ms ±σ  0.542ms\n```\n\nReference implementation in C\n```console\n$ zig build bench --release=fast -- reference 1028\n         dice : dec.  1.236ms ±σ  0.046ms | enc.  1.535ms ±σ  1.235ms\n     edgecase : dec.  0.027ms ±σ  0.002ms | enc.  0.037ms ±σ  0.027ms\n      kodim10 : dec.  3.230ms ±σ  0.065ms | enc.  3.157ms ±σ  3.226ms\n      kodim23 : dec.  3.165ms ±σ  0.055ms | enc.  3.021ms ±σ  3.162ms\n     qoi_logo : dec.  0.148ms ±σ  0.005ms | enc.  0.246ms ±σ  0.148ms\n     testcard : dec.  0.139ms ±σ  0.005ms | enc.  0.191ms ±σ  0.139ms\ntestcard_rgba : dec.  0.146ms ±σ  0.005ms | enc.  0.204ms ±σ  0.146ms\nwikipedia_008 : dec.  8.343ms ±σ  0.123ms | enc.  9.346ms ±σ  8.329ms\n         zero : dec.  0.496ms ±σ  0.015ms | enc.  0.766ms ±σ  0.496ms\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevydsa%2Fqoiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevydsa%2Fqoiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevydsa%2Fqoiz/lists"}