pub fn decode_jpeg(data: &[u8]) -> DcmResult<JpegFrame>
Decode a single JPEG fragment from a byte slice.
Handles JPEG Baseline (Process 1) and JPEG Extended (Process 2 & 4). Returns the decoded frame with metadata.