rust-cv / ndarray-image

Allows conversion between ndarray's types and image's types
MIT License
13 stars 5 forks source link

Support of PNG #1

Open umgefahren opened 3 years ago

umgefahren commented 3 years ago

In order to develop algorithms with lossless compression, the module should be able to read PNG.

vadixidav commented 3 years ago

@umgefahren While it may seem strange, you can add the image crate to your dependencies and enable the png feature on it. That will also allow pngs to work in this crate.

I will also add that you may want to look at nshare, which we use instead of this crate. It just allows a zero-copy ndarray view of an image from the image crate. I will still update this crate though.

vadixidav commented 3 years ago

I can still add features to this crate to transitively enable image features. I will leave this ticket open to track that.

DCNick3 commented 1 year ago

It seems that this crate is not that actively maintained (for example it depends on an older image version). It may be worthwhile noting that in the description and pointing potential users to nshare crate which seems to accomplish the same task and is more up to date