-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[TypeError: Object #<PNGStream> has no method 'destroy'] #232
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
Comments
99% sure Stream's prototype has no destroy |
nope |
wtf.. ok the node docs mention it just fine, this is part of why streams are garbage, just assuming every stream-like thing happens to implement the correct interface |
There is also no pause. |
OK. A simple workaround:
So you just pipe it through |
From the docs and discussion on SO it seems like streams don't actually provide a See more notes in #740. |
Fixed in 8b5dc05 I think. (Definitely fixed, but not positive it was that commit.) > canvas.createPNGStream().destroy
[Function: destroy] |
Stream interface not fully implemented.
The text was updated successfully, but these errors were encountered: