diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-08-16 01:14:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-08-16 01:14:05 +0000 |
commit | ee202873edb0d236e03270b96504e58b4664bd8b (patch) | |
tree | 20b25b22f031cd81204a36e19795e8759a50e4b1 /converter/ppm/hpcdtoppm | |
parent | 939dd71a6334d2a2f180cb19666e7544c2753f74 (diff) | |
download | netpbm-mirror-ee202873edb0d236e03270b96504e58b4664bd8b.tar.gz netpbm-mirror-ee202873edb0d236e03270b96504e58b4664bd8b.tar.xz netpbm-mirror-ee202873edb0d236e03270b96504e58b4664bd8b.zip |
Update internal use of 'pamcat' to adapt to its new ability to produce PNM output
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4411 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/hpcdtoppm')
-rwxr-xr-x | converter/ppm/hpcdtoppm/pcdovtoppm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/converter/ppm/hpcdtoppm/pcdovtoppm b/converter/ppm/hpcdtoppm/pcdovtoppm index 7d8eb5c2..1c6cb430 100755 --- a/converter/ppm/hpcdtoppm/pcdovtoppm +++ b/converter/ppm/hpcdtoppm/pcdovtoppm @@ -184,11 +184,11 @@ do if [ "$back" = "-white" ] ; then pbmtext $font "$ttext" | pnmcrop -quiet | pnmmargin -white 2 | \ - pamcat -extendplane $back -topbottom $tmpfile - > $imagefile + pamcat $back -topbottom $tmpfile - > $imagefile else pbmtext $font "$ttext" | pnmcrop -quiet | pnmmargin -white 2 | \ pnminvert | \ - pamcat -extendplane $back -topbottom $tmpfile - > $imagefile + pamcat $back -topbottom $tmpfile - > $imagefile fi rm -f $tmpfile @@ -200,9 +200,9 @@ do rowfile=${tempdir}/pi.${row} rm -f $rowfile if [ "$colors" = "n" ] ; then - pamcat -extendplane $back -leftright -jbottom $imagefiles > $rowfile + pamcat $back -leftright -jbottom $imagefiles > $rowfile else - pamcat -extendplane $back -leftright -jbottom $imagefiles | \ + pamcat $back -leftright -jbottom $imagefiles | \ ppmquant -quiet $colors > $rowfile fi rm -f $imagefiles @@ -220,9 +220,9 @@ if [ -n $imagefiles ] ; then rowfile=${tempdir}/pi.${row} rm -f $rowfile if [ "$colors" = "n" ] ; then - pamcat -extendplane $back -leftright -jbottom $imagefiles > $rowfile + pamcat $back -leftright -jbottom $imagefiles > $rowfile else - pamcat -extendplane $back -leftright -jbottom $imagefiles | \ + pamcat $back -leftright -jbottom $imagefiles | \ ppmquant -quiet $colors > $rowfile fi rm -f $imagefiles @@ -233,10 +233,10 @@ if [ $(echo $rowfiles|wc -w) -eq 1 ] ; then ppmtoppm $plainopt < $rowfiles else if [ "$colors" = "n" ] ; then - pamcat -extendplane $back -topbottom $rowfiles | \ + pamcat $back -topbottom $rowfiles | \ ppmtoppm $plainopt else - pamcat -extendplane $back -tb $rowfiles | \ + pamcat $back -tb $rowfiles | \ ppmquant $plainopt -quiet $colors fi fi |