@cornerstonejs/dicom-image-loader
Version:
Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file
10 lines (9 loc) • 497 B
TypeScript
import type { Enums } from '@cornerstonejs/core';
import type { LoaderXhrRequestPromise } from '../../types';
import type { CornerstoneWadoRsLoaderOptions } from '../wadors/loadImage';
export default function rangeRequest(url: string, imageId: string, defaultHeaders?: Record<string, string>, options?: CornerstoneWadoRsLoaderOptions): LoaderXhrRequestPromise<{
contentType: string;
pixelData: Uint8Array;
imageQualityStatus: Enums.ImageQualityStatus;
percentComplete: number;
}>;