suyashkumar / dicom

⚡High Performance DICOM Medical Image Parser in Go.
MIT License
920 stars 133 forks source link

write: fix/support BigEndian PixelData writes, pad odd byte lengths with extra byte #302

Closed ducquangkstn closed 4 months ago

ducquangkstn commented 4 months ago

When reading the code base, I found there are 2 mismatch between read and write process: