about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rwxr-xr-xeditor/pnmmargin5
-rwxr-xr-xeditor/pnmquantall3
-rw-r--r--editor/specialty/pnmindex.c6
3 files changed, 6 insertions, 8 deletions
diff --git a/editor/pnmmargin b/editor/pnmmargin
index 01dfdecc..94321c7f 100755
--- a/editor/pnmmargin
+++ b/editor/pnmmargin
@@ -108,9 +108,8 @@ else
     pamflip -rotate90 $tmp2 > $tmp3
 
     # Cat things together.
-    pamcat -extendplane -leftright $tmp2 $tmp1 $tmp2 > $tmp4
-    pamcat -extendplane -topbottom $tmp3 $tmp4 $tmp3 | \
-      pamtopnm $plainopt
+    pamcat -leftright $tmp2 $tmp1 $tmp2 > $tmp4
+    pamcat -topbottom $plainopt $tmp3 $tmp4 $tmp3
 fi
 
 
diff --git a/editor/pnmquantall b/editor/pnmquantall
index f18852a1..594e8f7b 100755
--- a/editor/pnmquantall
+++ b/editor/pnmquantall
@@ -145,8 +145,7 @@ sub tempFile($) {
 sub makeColorMap($$$$) {
     my ($fileNamesR, $newColorCt, $colorMapFileName, $errorR) = @_;
 
-    my $pamcatCmd =
-       "pamcat -extendplane -topbottom -white -jleft @{$fileNamesR}";
+    my $pamcatCmd = "pamcat -topbottom -white -jleft @{$fileNamesR}";
 
     my $pnmcolormapCmd = "pnmcolormap $newColorCt";
 
diff --git a/editor/specialty/pnmindex.c b/editor/specialty/pnmindex.c
index 4b8dafd6..2b39e4ec 100644
--- a/editor/specialty/pnmindex.c
+++ b/editor/specialty/pnmindex.c
@@ -502,7 +502,7 @@ makeImageFile(const char * const thumbnailFileName,
     const char * inputFileNmToken    = shellQuote(inputFileName);
 
     systemf("pbmtext %s %s"
-            "| pamcat -extendplane %s -topbottom %s - "
+            "| pamcat %s -topbottom %s - "
             "> %s",
             inputFileNmToken, invertStage, blackWhiteOpt,
             thumbnailFileName, outputFileName);
@@ -616,7 +616,7 @@ combineIntoRowAndDelete(unsigned int const row,
 
     fileList = thumbnailFileList(tempDir, row, cols);
 
-    systemf("pamcat -extendplane %s -leftright -jbottom %s "
+    systemf("pamcat %s -leftright -jbottom %s "
             "%s"
             ">%s",
             blackWhiteOpt, fileList, quantStage, fileName);
@@ -683,7 +683,7 @@ writeRowsAndDelete(unsigned int const rows,
 
     fileList = rowFileList(tempDir, rows);
 
-    systemf("pamcat -extendplane %s -topbottom %s | pamtopnm -assume %s",
+    systemf("pamcat %s -topbottom %s %s",
             blackWhiteOpt, fileList, quantStage);
 
     pm_strfree(fileList);