Open umgefahren opened 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.
I can still add features to this crate to transitively enable image features. I will leave this ticket open to track that.
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
In order to develop algorithms with lossless compression, the module should be able to read PNG.