image VS rust-ndarray

Compare image vs rust-ndarray and see what are their differences.


Encoding and decoding images in Rust (by image-rs)


ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations (by rust-ndarray)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
image rust-ndarray
19 8
2,589 2,053
3.2% 3.8%
9.4 9.0
4 days ago 3 days ago
Rust Rust
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of image. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-05.


Posts with mentions or reviews of rust-ndarray. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-12.
  • Enzyme: Towards state-of-the-art AutoDiff in Rust
    3 projects | | 12 Dec 2021
    I don't think any of the major ML projects have GPU acceleration because ndarray doesn't support it.
  • Announcing Rust CUDA 0.2
    3 projects | | 5 Dec 2021
    Not sure about ndarray:
  • Signal processing library
    7 projects | | 6 Nov 2021
    I used basic_dsp a while back and found it lacking. I was hoping to find something that uses the ndarray datatype but i'm not seeing this yet. If you're primarily trying to learn though it might not really matter which library you contribute to. As for myself, I just picked the one that was most used and actively worked on at the time. However I keep an eye out on other libraries; if I see something take off, I might switch over. Either way you'll learn and can point to it as work accomplished.
  • Searching help for Rust Image Manipulation
    2 projects | | 31 Jul 2021
    Most libraries use either an older C/C++ dynamically or statically. I was looking into maybe rewriting some image manipulation functions in Rust using ndarray (which would then allow for both hardware, gpu and multithreading acceleration), but it would take a very long to get fully into the subject.
  • Dumb question: I want to overload operators like add on structs, what is the name for what I'm trying to do?
    3 projects | | 30 Apr 2021
    The best way would to use a crate for this, such as ndarray, which provides some good ways to do this.
  • Making Maintaining Easier
    5 projects | | 25 Apr 2021
    First, let me explain a crate, where old dependencies do matter. There is one very handy crate called nshare. It's used for converting images into ndarrays. The libraries between nshare converts are regularly updated, for example to support new formats or to make the usage more convenient. If one writes a new software there could be conflicts in versions of ndarray (for example), so we make sure, that nshare is always up-to-date and works with the newest versions in order to build the best code on it. Another example could be everything cryptographic. If there would be a security issue with ring we really want every dependent to be updated.
  • Linfa has a website now!
    4 projects | | 8 Mar 2021
    well you can represent categorical values in `ndarray` for sure (even structured arrays [here](, but the memory has to be contiguous for BLAS/LAPACK and therefore it is impossible to mix continuous and categorical values. I was thinking that we could emulate categorical values with a descriptor field for the type of each feature and then just use floats to represent them.
  • ndarray: Apply along axis
    2 projects | | 6 Mar 2021
    ndarray Readme links to matrix

What are some alternatives?

When comparing image and rust-ndarray you can also consider the following projects:

opencv-rust - Rust bindings for OpenCV 3 & 4

neuronika - Tensors and dynamic neural networks in pure Rust.

imageproc (PistonDevelopers) - Image processing operations

oxipng - Multithreaded PNG optimizer written in Rust

Raster - An image processing library for Rust

tqdm - A Fast, Extensible Progress Bar for Python and CLI

winit - Window handling library in pure Rust

imageproc - An advanced image processing library for Rust.

img-hash - A Rust library for calculating perceptual hash values of images

utah - Dataframe structure and operations in Rust

linfa - A Rust machine learning framework.

steganography - A simple steganography library written in rust