[magick-users] convert and piping

Scott Bicknell scotbicknel at cox.net
Wed Aug 22 08:21:23 PDT 2007


On Wednesday, August 22, 2007 7:11:10 am Jean Magnan de Bornier 
wrote:
> Hi all,
> Is it possible to create an image from outside IM and then
> pipe to convert?
> Something like this, assuming "program" creates a file named
> foo.png:
>
> program ; convert foo.png foo.gif
>
> To be replaced by :
> program | convert foo.gif

program | convert - foo.gif

Convert can take input from standard input (-) and output to a 
file (foo.gif).


-- 
Scott


More information about the Magick-users mailing list