mise API - v0.0.0
    Preparing search index...

    Function dicomHeaderPrefix_get

    • 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.

      Parameters

      • path: string

        The file.

      Returns Promise<Result<DicomTagSet>>

      The tags before the pixels, or an error when the prefix is not DICOM.