95 |
# 4. Use convert(1) to crop the PostScript and turn it into a bitmap. |
# 4. Use convert(1) to crop the PostScript and turn it into a bitmap. |
96 |
(echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \ |
(echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \ |
97 |
groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \ |
groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \ |
98 |
&& convert -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \ |
&& convert -trim -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \ |
99 |
&& cat $tmp/pic2graph.$format |
&& cat $tmp/pic2graph.$format |
100 |
|
|
101 |
# End |
# End |