der/blob/00cf0419c98c6bddef121d4409c8a2a9d780f336/src/imageLoader/wadouri/getEncapsulatedImageFrame.js
      // MIT License
      function framesAreFragmented(dataSet) {
        const numberOfFrames = dataSet.intString('x00280008');
        const pixelDataElement = dataSet.elements.x7fe00010;

        return numberOfFrames !== pixelDataElement.fragments.length;
      }

      function getEncapsulatedImageFrame(dataSet, frameIndex) {

        if (
          dataSet.elements.x7fe00010 &&
          dataSet.ele