itk-wasm
Version:
High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.
15 lines (10 loc) • 449 B
text/typescript
// @ts-nocheck
import ReadImageResult from './read-image-result.js'
import CastImageOptions from '../cast-image-options.js'
/**
* @deprecated Use readImage from @itk-wasm/image-io instead
*/
async function readImageFile (webWorker: Worker | null, file: File, options?: CastImageOptions): Promise<ReadImageResult> {
throw new Error('readImageFile is deprecated. Use readImage from @itk-wasm/image-io instead.')
}
export default readImageFile