{"id":24520910,"url":"https://github.com/reshane/wbmp","last_synced_at":"2026-02-15T23:03:18.284Z","repository":{"id":273159826,"uuid":"918859325","full_name":"reshane/wbmp","owner":"reshane","description":"wbmp encoder and decoder","archived":false,"fork":false,"pushed_at":"2025-02-05T15:19:12.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T09:48:21.385Z","etag":null,"topics":["rust","wbmp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reshane.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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-01-19T03:37:04.000Z","updated_at":"2025-02-05T15:19:15.000Z","dependencies_parsed_at":"2025-01-19T04:30:33.612Z","dependency_job_id":"dd2932b8-9094-45d0-8ce3-7d1c203fa97b","html_url":"https://github.com/reshane/wbmp","commit_stats":null,"previous_names":["reshane/wbmp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reshane/wbmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reshane%2Fwbmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reshane%2Fwbmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reshane%2Fwbmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reshane%2Fwbmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reshane","download_url":"https://codeload.github.com/reshane/wbmp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reshane%2Fwbmp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29491998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["rust","wbmp"],"created_at":"2025-01-22T02:48:21.027Z","updated_at":"2026-02-15T23:03:18.269Z","avatar_url":"https://github.com/reshane.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WBMP encoding and decoding library\n\nWBMP encoding and decoding library written in Rust.\n\n## API\n\nThis library provides an `Encoder` and a `Decoder`.\n\n### Encoding\n\n```rust\nuse std::fs::File;\nuse wbmp::Encoder;\n\nlet img_data = vec![\n    0xFF, 0x00, 0xFF, 0x00,\n    0xFF, 0x00, 0xFF, 0x00,\n    0xFF, 0x00, 0xFF, 0x00,\n    0xFF, 0x00, 0xFF, 0x00,\n];\nlet (width, height) = (4, 4);\nlet mut out_file = File::create(\"checker.wbmp\")?;\nlet mut encoder = Encoder::new(\u0026mut out_file);\nencoder.encode(\u0026img_data, width, height, wbmp::ColorType::Luma8)?;\n```\n\n### Decoding\n\n```rust\nuse std::fs::File;\nuse std::io::BufReader;\nuse wbmp::Decoder;\n\nlet f = BufReader::new(File::open(\"path/to/file.wbmp\").unwrap());\nlet mut decoder = Decoder::new(f)?;\nlet (width, height) = decoder.dimensions();\n\nlet mut img_data = vec![0_u8; (width * height) as usize];\ndecoder.read_image_data(img_data.as_mut_slice())?;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freshane%2Fwbmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freshane%2Fwbmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freshane%2Fwbmp/lists"}