I allow users to upload images. They are processed client side using the File type in JS/Typescript. Is there any way to somehow "parse" this file type & ultimately get the width/height of the image file. Assume it is always image data contained within the File type.
I've looked on the web & there is not really any discussion about this anywhere that I can find.
When a user uploads an image, I want to capture metadata around the dimensions of the image to save into the DB.
Aucun commentaire:
Enregistrer un commentaire