Console: Passing input parameter directly to ImageMagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Innocentus

Console: Passing input parameter directly to ImageMagick

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Console: Passing input parameter directly to ImageMagick

Post by magick »

The MagickWand for PHP or Imagick is recommended. Both can take a blob without the need of an intermediate image file.
Innocentus

Re: Console: Passing input parameter directly to ImageMagick

Post 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
Innocentus

Re: Console: Passing input parameter directly to ImageMagick

Post by Innocentus »

So there is no way?

That's really sad. :(

With best regards!
Innocentus
Post Reply