image-rs / image

Encoding and decoding images in Rust
Apache License 2.0
4.95k stars 616 forks source link

Consider extracting jpeg stuff in its own crate #821

Open nox opened 6 years ago

nox commented 6 years ago

Just like there is image-png, there should be image-jpeg.

HeroicKatora commented 5 years ago

We're depending on jpeg-decoder for jpeg. While not within the image-rs organization, it is a separate crate.

lovasoa commented 5 years ago

Hello! I would love to see a dedicated jpeg encoder crate, as there is currently none. For my work on dezoomify-rs, I would like to implement a lossless JPEG image joiner. I think all the required code to make this work already exists in rust, but it would require to have both the jpeg encoder and decoder expose more of their internals.