Javascript: Reset image's orientation before uploading
The images can have 8 orientation types like the image below and we have reset its orientation, I mean to convert to be like the first image. First, I will get the current image's orientation export async function getOrientation(file: File): Promise...
Aug 3, 20212 min read210
