Piping or One command and then another
Posted: 2014-02-06T12:34:37-07:00
I'm confused about how to combine two commands, I believe it's called piping.
I want to convert a tif to a png, and then use the converted png to composite.
convert tif.tif png.png
-then-
composite -compose Dst_Over -tile ~/checkerboard.gif png.png output.jpg
I'm just unclear about how to do this, or if this is something that can be done. Can commands be piped together, or is it one at a time?
I'd love a little explanation of the syntax, or just a point in the right direction for where to read about it.
Thnx!
I want to convert a tif to a png, and then use the converted png to composite.
convert tif.tif png.png
-then-
composite -compose Dst_Over -tile ~/checkerboard.gif png.png output.jpg
I'm just unclear about how to do this, or if this is something that can be done. Can commands be piped together, or is it one at a time?
I'd love a little explanation of the syntax, or just a point in the right direction for where to read about it.
Thnx!