Get file from formdata for EXIF #398
Unanswered
smartlightning
asked this question in
Q&A
Replies: 1 comment
-
You can easily access the File using the useItemStartListener import { useItemStartListener } from "@rpldy/uploady";
const MyComponent = () => {
useItemStartListener((item) => {
//access the File object through: item.file
});
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello uploady community,
thanks for your amazing work on this useful library.
Currently I'm stuck trying to get the binary upload file in order to retrieve the EXIF data we need with exif js.
Usually one would add an onChange to the file input. I saw useFileInput hook but it seems a bit of an overkill to only get the blob. Any ideas on how I can do this?
Thanks in advance,
Chris
Beta Was this translation helpful? Give feedback.
All reactions