Is it possible to pipe raw binary image data directly into either convert or magickwand/php?
I read something about the "type:-" option, but I wasnt clear on whether it does what I need it to do: read the raw binary image data...
I have an image program that can either write a .png file to disk or "echo" directly to stdout, and Id prefer to send it directly to imagemagick for post-processing, instead of having to write to a temp file, and then read & write again after I finish processing the temp file with imagemagick.
please help
reading raw, binary image data from stdin?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: reading raw, binary image data from stdin?
You can using the raw: image input.
You will need to specify the image size, though.
The "Stream" command is about to control the definition of the binary input even more, though I have not used it much, and have almost zero info on it.
You will need to specify the image size, though.
The "Stream" command is about to control the definition of the binary input even more, though I have not used it much, and have almost zero info on it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/