Reads a DICOM file's header from the start of the file alone: the download stops after DICOM_HEADER_PREFIX_BYTES and the parse at the pixel data. A cine loop of hundreds of megabytes costs two.
The file.
The tags before the pixels, or an error when the prefix is not DICOM.
Reads a DICOM file's header from the start of the file alone: the download stops after DICOM_HEADER_PREFIX_BYTES and the parse at the pixel data. A cine loop of hundreds of megabytes costs two.