Closed jhanson closed 2 years ago
I'm traveling right now and I don't have a computer to test with. However, I am pretty sure that your inputBuffer
should already be a valid buffer. Don't manipulate it further, just pass that in.
@catdad That was it, thank you for your help. I'll close out this issue
@catdad Thank you so much for this contribution! I was unfortunately struggling to get this working with our framework ParsePlatform https://parseplatform.org/
We get our files as based64 encoded strings. After converting them to a binary buffer I get this error
The code snippet I am using to reproduce this is
Do you happen to have an example of using this library with a base64 encoded image?