-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileTypeFromBase64 #610
Comments
You can easily convert Base64 to a Buffer. I don't think this is common of enough need to support built-in. Buffer.from(b64string, 'base64'); |
But |
Yeah I know, but the fetch data url method is async and better on front-end where you want consistent 60fps. Just sayin. What alternatives do we have according to that SO post:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need to know the mime type before we can parse it using fetch data url.
The text was updated successfully, but these errors were encountered: