jpeg-decoder icon indicating copy to clipboard operation
jpeg-decoder copied to clipboard

JPEG decoder written in Rust

Results 51 jpeg-decoder issues
Sort by recently updated
recently updated
newest added

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` ![1901125955-failed-to-fill-whole-buffer](https://user-images.githubusercontent.com/30635813/178086535-5a1329f2-0d0f-47b8-b347-ff59a877b2b2.jpg)

This happens in image v0.24.2 ## Expected ![cbsimbanalaor4](https://user-images.githubusercontent.com/291257/177062315-837cd206-e8c8-4f86-9e6b-072274724077.jpg) ## Actual behaviour ![image](https://user-images.githubusercontent.com/291257/177062381-f4683f7b-1f80-449a-bca0-5344f149b975.png) ## 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...