We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Embed PNG to PDF
Call embedPng with an ArrayBuffer
embedPng
isType throws
isType
TypeError: png must be of type string or Uint8Array or ArrayBuffer, but was actually of type undefined
png
string
Uint8Array
ArrayBuffer
undefined
Treat ArrayBuffers from another context as valid.
https://gist.github.com/maximerety/92431f6f4cc9ea8f684de8c124469995
This bug is filed to webkit and fixed for future version.
1.17.1
Browser
Example fix (for related issue Safari: ArrayBuffers are sometimes not instanceof ArrayBuffer): feross/buffer@bcfa52b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What were you trying to do?
Embed PNG to PDF
How did you attempt to do it?
Call
embedPng
with an ArrayBufferWhat actually happened?
isType
throwsWhat did you expect to happen?
Treat ArrayBuffers from another context as valid.
How can we reproduce the issue?
https://gist.github.com/maximerety/92431f6f4cc9ea8f684de8c124469995
This bug is filed to webkit and fixed for future version.
Version
1.17.1
What environment are you running pdf-lib in?
Browser
Checklist
Additional Notes
Example fix (for related issue Safari: ArrayBuffers are sometimes not instanceof ArrayBuffer): feross/buffer@bcfa52b
The text was updated successfully, but these errors were encountered: