-
Notifications
You must be signed in to change notification settings - Fork 617
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
Append doesn't accept a buffer #251
Comments
Same problem, gm.append only accepts file paths. Neither buffers not streams work gm(stream).append(stream) When the image is written to disk only the original image stream is there |
this is similar to #211. difficult to stdin multiple images as buffers |
Bump. Is there any plan to fix this? If not, I'll just have to write to a temp file. I'm trying to make a sprite out of some GridFS files, would rather not involve the regular FS if I don't have to. Or I could be not lazy and try to make a PR. Meh. |
@Awk34 make a pull request! If not someone else might make a PR, I've had a few people fixing bugs the past few weeks maybe one of them will pick this up. |
@rwky well, that would take actually figuring out the fix for this first.. I haven't done much more than poking around the source code |
* 251-accept-buffer: Adds Stream support for append() Use writeFile instead of gm write Fixes aheckmann#251 Append doesn't accept a buffer Add dependency: `tmp`
I need this so badly |
I'm trying to the append images together that are stored in buffers like so:
This firstBuffer always works, but the secondBuffer is never recognized (it only works when append is passed a filepath).
The text was updated successfully, but these errors were encountered: