Hi,
I am sorry if this is a basic question but I havent been able to find a method that can be used to stream image files using Image Magick.I did find the tool 'stream' http://imagemagick.org/script/stream.ph ... f5slbq6265 but that is command line.I use visual studio and need some way of programatically converting images into streams.
Streaming Images using Image Magick
Re: Streaming Images using Image Magick
MagickCore supports ReadStream() defined @ http://www.imagemagick.org/api/stream.php. For example usage, see the source distribution @ magick/stream.c and look for the StreamImage() method.
Re: Streaming Images using Image Magick
Thanks for the quick reply.I went back and checked the documentation you pointed.It just talks about what arguments it should take and I am not sure whether to use ReadStream or StreamImage.Can you give a specific example of actually how to do this or point me to one? I'd be grateful.
Re: Streaming Images using Image Magick
StreamImage() is a good example of using ReadStream(). See StreamImage() in use @ wand/stream.c. Unfortunately, those are the only two examples of using streams with the MagickCore API. You of course can use the stream utility for streaming from the command-line.