v0.8.2
DICOM-rs 0.8.2
This new revision brings a wide array of backward-compatible contributions. A major release is already in the works as we pave the way for v0.9.0, but until then, version 0.8.2 already offers some interesting features, including a new API to read DICOM data in small parts, and several improvements to pixel data decoding.
New
- [dump] Add CLI option
read_until(#637) - [dump] Add odd length reading strategy to
dicom-dump(#646 @jmlaka) - [parser] Add token peeking to lazy data set reader (#657)
- [object] Collector API: fetch DICOM data sets and pixel data fragments in parts (#657)
- [core] Add
DicomTime::millisecond(#665)
Fixes
- [pixeldata] Prevent panic when accessing invalid pixeldata frame (#633 @feliwir)
- [pixeldata] Fallback to shared groups on missing per frame tag (#632 @TidalPaladin)
Enhancements
- [pixeldata] Add shortcut transcode paths depending on edge cases (#634)
- [transfer-syntax-registry] Update
charlsdependency to version 0.4.2 (#644 @dougyau) - [ul] Add "async" feature to documentation at docs.rs (#652)
- [pixeldata] Support bits_allocated == 1 (#654 @Cryt1c)
- [pixeldata] Apply VOI LUT when rendering images (#599 @abustany)
- [ul] Suppress warning when called_ae_title matches AE title from address (#659 @qarmin)
- [transfer-syntax-registry] Update jpeg2k to 0.10 (#667)
Miscellaneous
- Multiple Clippy lint fixes (#638 #648 #655)
- General dependency update (2025-05) (#653)
- [pixeldata] Use another error variant to report length mismatch of VOI LUT (#660)
📦 Updated crates
dicom-core0.8.2dicom-dictionary-std0.8.1dicom-encoding0.8.2dicom-parser0.8.2dicom-transfer-syntax-registry0.8.2dicom-ul0.8.2dicom-scpproxy0.8.2dicom-object0.8.2dicom-json0.8.2dicom-dump0.8.1dicom-pixeldata0.8.2dicom-toimage0.8.1dicom-findscu0.8.2dicom-dictionary-builder0.8.2dicom0.8.2
🙏 Thanks
@TidalPaladin made their first contribution in #632 and @Cryt1c made their first contribution in #654. Thank you!
Full Changelog: v0.8.1...v0.8.2