about summary refs log tree commit diff
path: root/editor/pnmquantall
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/pnmquantall
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/pnmquantall')
-rwxr-xr-xeditor/pnmquantall5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/pnmquantall b/editor/pnmquantall
index 5f434fc2..b818ef07 100755
--- a/editor/pnmquantall
+++ b/editor/pnmquantall
@@ -145,11 +145,12 @@ sub tempFile($) {
 sub makeColorMap($$$$) {
     my ($fileNamesR, $newColorCt, $colorMapFileName, $errorR) = @_;
 
-    my $pnmcatCmd = "pnmcat -topbottom -white -jleft @{$fileNamesR}";
+    my $pamcatCmd = \
+       "pamcat -extendplane -topbottom -white -jleft @{$fileNamesR}";
 
     my $pnmcolormapCmd = "pnmcolormap $newColorCt";
 
-    my $makeMapCmd = "$pnmcatCmd | $pnmcolormapCmd >$colorMapFileName";
+    my $makeMapCmd = "$pamcatCmd | $pnmcolormapCmd >$colorMapFileName";
 
     my $termStatus = system($makeMapCmd);