about summary refs log tree commit diff
path: root/converter/other/anytopnm
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/anytopnm')
-rwxr-xr-xconverter/other/anytopnm7
1 files changed, 4 insertions, 3 deletions
diff --git a/converter/other/anytopnm b/converter/other/anytopnm
index 06f48b4f..397faae5 100755
--- a/converter/other/anytopnm
+++ b/converter/other/anytopnm
@@ -150,7 +150,8 @@ computeTypeFromTypeDescription () {
             filetype=tiff
             ;;
     
-        *PC*bitmap*data* )
+        # We have seen "PC bitmap" and "PC bitmap data"
+        *PC*bitmap* )
             filetype=bmp
             ;;
         
@@ -399,7 +400,7 @@ case "$2" in
         ;;
 
     gif )
-        giftopnm "$file"
+        giftopnm -image=all "$file"
         ;;
 
     tiff )
@@ -437,7 +438,7 @@ case "$2" in
         ;;
 
     png )
-        pngtopnm "$file"
+        pngtopam "$file"
         ;;
 
     mda )