Releases: ThalesMMS/DICOM-Decoder
DICOM-Decoder 1.0.1
1.0.1 - DICOM Streaming & Security Enhancements
New Features
-
Add range-based pixel access methods to enable efficient streaming of DICOM image data without loading entire files into memory
-
Implement JPEG Lossless decoder with full specification support including Huffman table decoding, first-order predictor, and bit unpacking
-
Introduce DicomDecoderProtocol and dependency injection patterns for improved testability and modularity across FileImportService, StudyDataService, and DicomSeriesLoader
Improvements
-
Refactor DICOM decoder with modular reader architecture and async support for better separation of concerns
-
Optimize range-based reading for memory-mapped file access to improve performance with large DICOM datasets
-
Replace print statements with logger.debug for consistent diagnostic output in DCMDictionary
Bug Fixes
-
Add comprehensive security validation including bounds checking, sequence depth tracking, pixel buffer allocation validation, and malicious length detection to prevent stack overflow and buffer overflow attacks
-
Guard reference decoder test on macOS to handle platform-specific compatibility issues
Swift DICOM Decoder 1.0.0
What's new
- Swift-only DICOM decoding core extracted from the legacy viewer
- Metadata accessors, study/patient helpers, and window/level utilities
- Bundled DICOM tag dictionary resources for runtime lookups
- Distributed as a SwiftPM library with initial XCTest coverage