reading raw, binary image data from stdin?
Posted: 2009-01-19T23:23:24-07:00
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
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