|
Posted by Mitja on 07/08/05 19:28
On Tue, 05 Jul 2005 22:16:32 +0200, Exyle <exyle@no.spam> wrote:
> Currently I'm working around with having the data put into temporary
> image files and then read back into the script but I wanted to know if
> there was a more efficiant way.
Almost surely you can redirect ImageMagick's output to stdout (standard
output), then read it from your php script via a pipe. Won't be much more
efficient, though: the speedup (if any, since he file usu doesn't even get
written to disk, but rather stays in memory - talking of linux here) is
negligible compared to time needed to do the actual conversion. So I'd say
stick with the most obvious way to do it, whichever you consider that to
be.
[Back to original message]
|