Sergey "Shnatsel" Davidoff
Sergey "Shnatsel" Davidoff
DEFLATE is hard but PNG filters aren't as scary as they sound
When writing `cargo audit bin`, a dedicated vulnerability scanner for Rust binaries, I've found that when `cargo auditable` data is not available (which blint currently relies on, see #89), it's...
In image v0.25.4 and image-webp v0.2.0, decoding the attached animated WebP is 4x slower than using `libwebp-sys` + `webp-animation`: [sample.zip](https://github.com/user-attachments/files/17482915/sample.zip) ### image ```rust use std::error::Error; use image::{codecs::webp::WebPDecoder, AnimationDecoder, ImageReader}; fn...
Part of the gap observed in #119 is due to `webp-animation` using multi-threading. `libwebp` also has a multi-threading option for still images. But right now `image-webp` is single-threaded. I think...
This happens in `image` from git on commit 5976c195939bfbede976fe1e0a80225d192a793c with `image-webp` v0.2.0 ## Expected `convert bug.webp[0] bug.png` produces an image that's fully transparent, other than the beetle:  ## Actual...
Found in image-webp v0.2.0 Input: [bsk.webp.gz](https://github.com/user-attachments/files/17400821/bsk.webp.gz) imagemagick result:  image-webp result:  Same versions and reproduction code as in https://github.com/image-rs/image-webp/issues/117 This happens on vibrant reds so...
Found in image-webp v0.2.0 Input: [1600195945.webp.gz](https://github.com/user-attachments/files/17400798/1600195945.webp.gz) imagemagick result:  image-webp result:  Note the reddish area in the bottom right corner of the image-webp output. Same...
The `png` crate v0.18.x (currently in beta) added finer-grained compression controls: 1. [set_compression()](https://docs.rs/png/0.18.0-rc.2/png/struct.Encoder.html#method.set_compression) for a high-level, easy to use compression control 2. [set_deflate_compression](https://docs.rs/png/0.18.0-rc.2/png/struct.Encoder.html#method.set_deflate_compression) for more in-depth DEFLATE control 3. [set_filter](https://docs.rs/png/0.18.0-rc.2/png/struct.Encoder.html#method.set_filter)...
Exif metadata can contain information about the orientation in which a photo was taken, which is crucial to be able to display images correctly. Being able to write Exif metadata...
ICC profiles are important for color management, and being able to read them is crucial to be able to display them correctly, while being able to them is crucial to...