At 12:19 am, Saturday, September 13 2003, Voytek Eymont mumbled:
> how do I pipe into 'convert' to resize an output image from another tool?
> 
> I have
> tide -l sydney -f p -m g >tide.png
> and
> convert -resize 480x120 tide.png small_tide.png
> 
> but I'm not having much success pipeing one into the other
> 
You tell convert to resize from stdin.

tide -l sydney -f p -m g | covert -resize 480x120 - small_tide.png
(The single dash to convert tells it to read from stdin, not a file.)

That should do the trick.

Cheers,
-- 
                                           Steve
"Proofread carefully to see if you any words out."
                                        -- Commit message from PeterK
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to