help please: exec/pasthru/system/popen problem
| From: | Wolfram Kriesing | Date: | Fri, 09 Nov 2001 14:13:05 +0000 |
| Subject: | help please: exec/pasthru/system/popen problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74019@lists.php.net to get a copy of this message | ||
i was now trying all the examples from the docs but no success yet
can someone please help?
i want to convert an image to another format i was fread-ing the one
image into
$image1
so they are binary in there
and i want to pass that to imagemagick's convert, using:
convert gif:- jpg:-
which reads from stdin and outputs the result to stdout
how can i pass the _binary_ $image1 to convert and retreive the
$convertedImage
reason, i want to insert the image as a blob and i dont want to mess
with files
thank you
--
Wolfram