Hacker GitHub

← All repos

bschwind/png-decoder

View on GitHub ↗ ★ 45 Rust

A pure-Rust, no_std compatible PNG decoder

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2021-04-07 · latest 2026-10-18

Mentions per year 3 mentions · busiest year 2021 (2)
20082026
  1. …Rust, it was kinda fun! Here's the code if anyone's interested, it's not particularly great though. https://github.com/bschwind/png-decoder
    comment by bschwindHN · 2026-10-18 · in Each step of decoding a PNG (2022)
  2. …decoder You could try adapting https://github.com/google/wuffs/tree/main/script/bench-rust-... > https://github.com/bschwind/png-decoder Note that statements like: let bytes_per_scanline = ((header.width * header.bit_depth as u32 *…
    comment by nigeltao · 2021-04-08 · in Wuffs’ PNG image decoder
  3. …with the Wuffs decoder, I'm guessing probably not because I haven't put any effort into using SIMD. https://github.com/bschwind/png-decoder But overall the implementation was pretty straightforward, I just read the RFC and wrote it out…
    comment by bschwindHN · 2021-04-07 · in Wuffs’ PNG image decoder