Read and detect the dimension of the given file
Optionalfile: FileThe file to inspect
Optionalresolve: (width?: number, height?: number) => voidThe callback function to execute when the file read success
Optionalreject: (ev?: ProgressEvent<FileReader> | ErrorEvent) => voidThe callback function to execute when the file read failure
Utilities for image
Author
David Hsing