jpeg-decoder
jpeg-decoder copied to clipboard
JPEG decoder written in Rust
Added the ability to set the colour transform applied (resolves https://github.com/image-rs/jpeg-decoder/issues/238). To do this, I had added a new `enum` which captures the possible options, including a `Default` option which...
Hello. I've been testing a bunch of images from random sources around the internet against some JPEG decoders, and found a bunch that fail with `jpeg-decoder`. An image was considered...
`jpeg-decoder` become 70KB bigger (according to `cargo bloat`) after updating to 0.2.2 For some use-cases I would prefer a smaller footprint to performance.
To solve https://github.com/image-rs/image-tiff/issues/168 I would like to clone the `UnsupportedFeature` error and add this to a `TiffError` to pass back to the caller.
The following image fails to decode with a "failed to decode huffman code" error, but it displays "fine" (with some corruption in the bottom part of the image) in Firefox,...
Thought I might start the conversation around a manner in which one could recover partially rendered image pixel data from a corrupt or partially invalid jpeg file. Still to do...
I have a JPG that fails to load with `image-rs` with the error message: `Failed to load image: failed to fill whole buffer` 
This happens in image v0.24.2 ## Expected  ## Actual behaviour  ## Reproduction steps ```rust use std::error::Error; fn main() -> Result { use image::io::Reader as ImageReader; let input =...
This happens in image from git on commit 04052e64c9a94606efc8bd3d87d5f3e0f566774e Decoding the attached file results in an arithmetic overflow, causing a panic in debug mode: `thread '' panicked at 'attempt to...
This image fails to decode with "FF 00 found where marker was expected", but succeeds in libjpeg-turbo (tested via sxiv), Dolphin, Firefox and VS Code (not sure what library those...