image
zune-image
image | zune-image | |
---|---|---|
37 | 8 | |
4,517 | 262 | |
1.5% | - | |
9.1 | 9.7 | |
3 days ago | 13 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
image
-
Transitioning From PyTorch to Burn
With the help of the image crate, loading an image from disk is fairly straightforward.
-
CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
FTR there is a WebP decoder implementation in safe Rust in the image crate: https://github.com/image-rs/image
It used to be quite incomplete for a long time, but work last year has implemented many webp features. Chromium now has a policy of allowing the use of Rust dependencies, so maybe Chromium could start adopting it?
-
Porting a local app to Web
Hello! So I have a local app that I am currently running on desktop (windows). I'm using egui for the UI, and the program basically opens a folder, gets all the images in the folder, and then uses the image-rs library to resize and create a grid of images / some other operations.
- Setting the DPI of an image before saving it
-
png crate gets an ultrafast compression mode, up to 4x faster decompression
png is the de-facto standard Rust crate for reading and writing PNG images, used e.g. by the image crate.
-
What's everyone working on this week (12/2023)?
There's also a CLI to convert between formats. It uses the crate image.
-
The `exr` crate got up to 3x faster, even better performance coming soon
exr is a is a 100% Rust and 100% safe code library for reading and writing OpenEXR images. It is used by the popular image crate to read and write OpenEXR.
-
Announcing zune-jpeg: Rust's fastest JPEG decoder
We're currently looking for contributors to add support for zune-jpeg to the image crate. The image maintainers are open to it, but don't have the capacity to do it themselves. You can find more details here.
-
Does the rust image crate support paletted png?
It would be helpful to contribute to the general change towards an untyped buffer with runtime representations for color space information and fallible conversions. (https://github.com/image-rs/image/pull/1718). It's currently stalling on having too few eyeballs to judge the impact and need for that complexity.
-
picst - a CLI tool to resize clipboard images on the fly
It uses https://github.com/1Password/arboard and https://github.com/image-rs/image under the hood. I haven't tested deeply but I assume it should handle many formats out of the box.
zune-image
-
serde-numpy now supporting image formats!
Thanks to the zune-image library, serde-numpy is now supporting PNG and JPEG. Enabling faster io for neural net training loops and other image processing in python
-
Introducing zune-png: extremely fast PNG decoding in Rust
It has been extensively tested on 600,000 real world images, as well as fuzzed in various ways, and is now ready for production use!
-
Safety and Soundness in Rust
I might have misunderstood what you've written, but is there a reason you can't use https://github.com/etemesi254/zune-image as a JPEG decoder? It has minimal use of unsafe and is performant.
-
Announcing zune-jpeg: Rust's fastest JPEG decoder
It uses SIMD for colorspace conversion and IDCT, the code can be found here and here.
-
Introducing zune-inflate: The fastest Rust implementation of gzip/Zlib/DEFLATE
You can see a Github Action that zune-inflate uses here, it's mostly self-explanatory.
-
[Gitoxide in November]: high-speed diffing and pure-rust binary builds
I've just added a roundtrip fuzzer to the Rust translation of it so that we can start weeding out the bugs: https://github.com/etemesi254/zune-image/pull/13 Right now it finds some decoding failures in a few seconds.
What are some alternatives?
opencv-rust - Rust bindings for OpenCV 3 & 4
libjpeg-turbo - Main libjpeg-turbo repository
photon - ⚡ Rust/WebAssembly image processing library
zune-jpeg - A jpeg decoder with wings
imageproc - An advanced image processing library for Rust.
image-png - PNG decoding and encoding library in pure Rust
imageproc (PistonDevelopers) - Image processing operations
unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do
rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
miri - An interpreter for Rust's mid-level intermediate representation
oxipng - Multithreaded PNG optimizer written in Rust
Symphonia - Pure Rust multimedia format demuxing, tag reading, and audio decoding library