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