about summary refs log tree commit diff
path: root/editor/pnmmargin
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-03 01:54:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-03 01:54:03 +0000
commitea33c0f4199428c3c06572eb6d13dae41340b9d7 (patch)
tree8b8fff938c79f53d8915170ce540a372a6e2c321 /editor/pnmmargin
parent46247b94c06d6e07e5a09b50d43f45c7411dc89f (diff)
downloadnetpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.tar.gz
netpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.tar.xz
netpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.zip
Use new 'pamcat' instead of 'pnmcat'
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4385 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmmargin')
-rwxr-xr-xeditor/pnmmargin5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/pnmmargin b/editor/pnmmargin
index e8851bda..6b30c074 100755
--- a/editor/pnmmargin
+++ b/editor/pnmmargin
@@ -101,8 +101,9 @@ else
     pamflip -rotate90 $tmp2 > $tmp3
 
     # Cat things together.
-    pnmcat -lr $tmp2 $tmp1 $tmp2 > $tmp4
-    pnmcat -tb $plainopt $tmp3 $tmp4 $tmp3
+    pamcat -extendplane -leftright $tmp2 $tmp1 $tmp2 > $tmp4
+    pamcat -extendplane -topbottom $tmp3 $tmp4 $tmp3 | \
+      pnmtopnm $plainopt
 fi