Enet4 / dicom-rs

Rust implementation of the DICOM standard
https://dicom-rs.github.io
Apache License 2.0
414 stars 82 forks source link

Pixel data decoder is too eager and always returns bytes #294

Open Enet4 opened 1 year ago

Enet4 commented 1 year ago

There are currently two known limitations with the PixelRWAdapter::decode signature.

A future reiteration of the pixel data adapters should bring changes to the PixelRWAdapter interface to fulfill at least the first requirement. It is still unclear how far one can go with the second requirement.