Page 1 of 1

Console: Passing input parameter directly to ImageMagick

Posted: 2008-02-26T07:05:45-07:00
by Innocentus
You can pipe the result of an ImageMagick Image-Manipulation back to your program.
That's fine - because I don't need to specify an output-File.

Now I also want to pass / pipe the raw Image-Data as an Input parameter.
I want that because of the fact that I am fetching the raw data directly via php from an mysql-database.
I don't want to handle with temporary files - to avoid that I need to pass the imagedata-String directly to ImageMagick.

Is that possible - or do I need to save the data into an external temporarily file before?

Thank you very much for your help!
With best regards!
Innocentus

Re: Console: Passing input parameter directly to ImageMagick

Posted: 2008-02-26T07:47:26-07:00
by magick
The MagickWand for PHP or Imagick is recommended. Both can take a blob without the need of an intermediate image file.

Re: Console: Passing input parameter directly to ImageMagick

Posted: 2008-02-26T08:01:53-07:00
by Innocentus
magick wrote:The MagickWand for PHP or imagick is recommended. Both can take a blob without the need of an intermediate image file.
Well - my provider doesn't support that. And they won't install MagickWand.
Is there no way without MagickWand? - What is imagick ?

Thank you for your help!
With best regards!
Innocentus

Re: Console: Passing input parameter directly to ImageMagick

Posted: 2008-02-26T11:31:53-07:00
by Innocentus
So there is no way?

That's really sad. :(

With best regards!
Innocentus