Hacker GitHub

← All repos

image-rs/image

View on GitHub ↗ ★ 5,902 Rust

Encoding and decoding images in Rust

14 mentions on Hacker News by 13 people: 1 story, 13 comments · first 2015-06-07 · latest 2023-09-26

Mentions per year 14 mentions · busiest year 2022 (5)
20082026
  1. …a counterfactual world where webp was written in rust You don't have to hypothesize. It's here: https://github.com/image-rs/image/blob/master/src/codecs/web... and it doesn't use unsafe indexing.
  2. FTR there is a WebP decoder implementation in safe Rust in the image crate: https://github.com/image-rs/image It used to be quite incomplete for a long time, but work last year has implemented many webp features. Chromium now has a policy…
    comment by est31 · 2023-09-12 · in Chrome: Heap buffer overflow in WebP
  3. FTR that decoder does not support colors, so for most uses it is not ready yet: https://github.com/image-rs/image/pull/952
    comment by est31 · 2022-11-03 · in The case for JPEG XL
  4. …a Rust WebP decoder in image-rs [1], presumably independently written from the specification. [1] https://github.com/image-rs/image/tree/master/src/codecs/web...
    comment by lifthrasiir · 2022-11-03 · in The case for JPEG XL
  5. …you run into some severe design limits. Here is the kind of underlying problem I’m talking about: https://github.com/image-rs/image/issues/1523
  6. …and can encode and decode animated gifs and a variety of other image formats, 100% rust https://github.com/image-rs/image . At my startup we use this in a lambda to process user-uploaded images, with great success.
  7. ▲ 3
    Encoding and Decoding Images in Rust
    story by maydemir · 2022-02-17 · 0 comments
  8. …include in the next bench round since it's only a bit of glue code away from a "C library" too. 0 - https://github.com/image-rs/image
  9. …use that crate for the image processing ? Or imagemagick ? Or something you wrote internally ? [1]: https://github.com/image-rs/image
  10. …don't know where to start. But then if I go to the repo I find a nice intro with some example code: https://github.com/PistonDevelopers/image/blob/master/README...
    comment by simias · 2017-05-06 · in The Rust Libs Blitz
  11. …[2]: https://github.com/iron/iron/blob/d3942d72e3178e7b34ebf1ea0e... [3]: https://github.com/PistonDevelopers/image/tree/f2b86c1ec6d3c...
    comment by dbaupp · 2016-01-11 · in The Scope of Unsafe
  12. …dark corners of the BMP format would be even worse than Firefox's would be before my rewrite. See https://github.com/PistonDevelopers/image/tree/master/src/bm... for the code.
    comment by nnethercote · 2015-11-06 · in I rewrote Firefox's BMP decoder
  13. …as critical and the formats are well defined. For example, here is a pure Rust image codec library: https://github.com/PistonDevelopers/image
  14. …[1]: http://www.piston.rs [2]: http://www.reddit.com/r/rust/comments/28srso/piston_game_eng... [3]: https://github.com/PistonDevelopers/image [4]: http://blog.piston.rs/2014/08/30/conrod-update/
    comment by mseri · 2015-06-07 · in Expressing L-systems in Rust