From: ara.t.howard@... Date: 2006-11-17T07:39:41+09:00 Subject: Re: Another IO.popen question ... On Fri, 17 Nov 2006, Joel VanderWerf wrote: > would this work? > > file = "mypdf.pdf" > IO.popen("cat #{file} | ...") > > or simply > > IO.popen("convert -resize 700x700 #{file} png:-") yeah - that's it alright png = IO.popen("convert -resize 700x700 #{file} png:-"){|pipe| pipe.read} dump it to stdout... -a -- my religion is very simple. my religion is kindness. -- the dalai lama