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