-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Buffer issue #37
Comments
Hi Gaël, it hard to tell from this snippet what The sharp constructor can handle a native string (=filename) or Buffer object. What does |
the |
Thanks @Swatto, this could happen if the Buffer is empty. What does |
Yeah it was that stupid thing... Sorry guys and great project ! |
I'm using Knox to download an image on S3 and I'm stocking data in a buffer and place it in sharp constructor method.
But I have an error in the callback :
Unsupported input file undefined
The buffer is not corrupted : if I output it with
buffer.toString()
as an express response, the image is displayed.Do you have any idea guys ?
The text was updated successfully, but these errors were encountered: