Rust Jpeg

Open-source Rust projects categorized as Jpeg

Top 5 Rust Jpeg Projects

  • exif-rs

    Exif parsing library written in pure Rust

    Project mention: Hey Rustaceans! Got a question? Ask here! (27/2022)! | | 2022-07-04

    I dont want the files to waste a lot of space so i decided to resize them. For that i used the resize method from the "image" crate. Everything works fine, until i start to upload images above 5mb. Then the resize method starts to rotate the images. I think i narrowed it down to the resize function deleting any existing exif data inside the image file. That way the orientation flag is removed and the image is in its default position. I already tried to fix this, by saving the exif data before resizing and then rewriting it to the image file. The only library that i could find that supports writing (at least for png and jpeg) was this one: kamadax-exif. The problem is, that when i write the exif data (all the previous data or just the orientation data) the file gets corrupted. Now to my question: Can someone recommend a library that can resize images, that preserves the aspect ratio and does not delete the exif data? if not, does someone have an idea on how to resize the images differently? Or maybe there exists another exif data crate that i can use? I hope this question is understandable, thanks in advance :)

  • mozjpeg-sys

    Rust bindings for mozjpeg

    Project mention: WASM instead of C Dependencies? | | 2022-01-14

    Testsetup: Encode a 6048x2048px big image using mozjpeg (mozjpeg-sys to be more specific), resize it down to 1008x665px using PistonDevelopers/resize, and decode it again using mozjpeg.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • zune-jpeg

    A jpeg decoder with wings

    Project mention: Do you ever use unsafe { .. } when not implementing custom data structures or interacting with external C code? | | 2022-08-14

    Alternatively, you can round up the array length to the nearest power of 2 and use cheap bitmasking instead of branching bounds checks. If it goes wrong, it will access the wrong element but will not result in any code execution vulnerabilities. Here's an example of this in zune-jpeg.

  • img-parts

    Low level crate for reading and writing Jpeg, Png and RIFF image containers

  • image-shrinker-lite

    Drag-and-drop image compression app.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-14.

Rust Jpeg related posts


What are some of the best open-source Jpeg projects in Rust? This list will help you:

Project Stars
1 exif-rs 104
2 mozjpeg-sys 28
3 zune-jpeg 22
4 img-parts 15
5 image-shrinker-lite 2
Workflow assistant built for devs & their teams
Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.