exif-rs
img-parts
exif-rs | img-parts | |
---|---|---|
2 | 1 | |
208 | 25 | |
- | - | |
5.5 | 6.7 | |
12 days ago | 1 day ago | |
Rust | Rust | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
exif-rs
-
Hey Rustaceans! Got a question? Ask here! (27/2022)!
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 :)
-
Announcing: ImageSieve, a tool to assist in sorting and archiving images and videos
I absolutely loved all the crates available that made my life very simple in many cases. I used (among others) the slint ui framework, kamadak-exif, img_hash, fast_image_resize and rawloader.
img-parts
-
Is there a rust crate for extracting a thumbnail from a jpg?
It won't spit out one automatically, you will still have to write the code yourself, but the example given with the repo has a snippet doing something similar: https://github.com/paolobarbolini/img-parts/blob/main/examples/image-rs/src/main.rs
What are some alternatives?
rawloader - rust library to extract the raw data and some metadata from digital camera images
vtkio - Visualization ToolKit (VTK) file parser and writer
fast_image_resize - Rust library for fast image resizing with using of SIMD instructions.
mp4-rust - MP4 reader + writer library in Rust! 🎥🦀
image-sieve - GUI based tool to sort and categorize images written in Rust
exiftool-rs - Image metadata scrubber written in Rust.
sitewriter - A rust library to generate sitemaps.
tutorials - 📚 Stash of tutorials completed for learning cool stuff.
caesium-clt - Caesium Command Line Tools - Lossy/lossless image compression tool
img-hash - A Rust library for calculating perceptual hash values of images
s2png - Store any data in PNG images