-
Notifications
You must be signed in to change notification settings - Fork 146
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
ArrayBuffer error #166
Labels
Comments
Thanks for your report. It seems I made a mistake in the function I wrote to check for valid image data. You can work around this for now by converting your |
jjhbw
added a commit
that referenced
this issue
Nov 13, 2020
…valid image data containers, as the type definitions suggest.
Should be fixed in |
No problem, I'm using the base64 conversion for now ;-)
…On Fri, Nov 13, 2020 at 6:54 PM Jurriaan BW ***@***.***> wrote:
Thanks for your report. It seems I made a mistake in the function I wrote
to check for valid image data.
You can work around this for now by converting your ArrayBuffer to a
Buffer using Buffer.from(). I'll push a fix release later today.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#166 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPAMXNBQ6NZBC73WKYLWPTSPVXG5ANCNFSM4TU2NSDA>
.
--
Jean Chapelle
|
Great ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey I'm trying to render an image fetched via node-fetch but it doesn't seem to work.
Node-fetch provide a method to convert the data in arrayBuffer.
But when I'm using it, the library tells me that image data must be an arrayBuffer.
Do you have an idea why ?
The text was updated successfully, but these errors were encountered: