UNPKG

@e-group/utils

Version:

eGroup team utils that share across projects.

8 lines (7 loc) 290 B
/** * Get orientation of image. * https://stackoverflow.com/questions/7584794/accessing-jpeg-exif-rotation-data-in-javascript-on-the-client-side/32490603#32490603 * * @param {File} file image file prepare for uplaod */ export default function getOrientation(file: File): Promise<any>;