Be aware that TIFF is one format that generally CANNOT be piped, because it needs to be accessed by the generating program in a random way.
On 8/23/07, Jean Magnan de Bornier <[EMAIL PROTECTED]> wrote: > Le 23 août à 07:09:13 Anthony Thyssen <[EMAIL PROTECTED]> écrit > notamment: > > | > 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=20 > | | | file (foo.gif). > | | > | | The problem here is that "program" creates a file foo.png, doesn't send > | | to standard input; I guess in this case pipe cannot help..? > | | > | If you are using, BASH you can have program write to /dev/stdout > | (this file does not exist but handled internally by bash) > > Thanks to all! > My "program" is not BASH anf doesn't seem to be able to deliver to stdout; > I will habe to stick to some roundabout way... > cheers, > -- > Jean > > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
