]> granicus.if.org Git - file/commitdiff
Make netpbm beat DOS/MBR magic again (Kamil Dudka)
authorChristos Zoulas <christos@zoulas.com>
Tue, 22 Jan 2019 16:17:25 +0000 (16:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 22 Jan 2019 16:17:25 +0000 (16:17 +0000)
magic/Magdir/images

index 5cd9fabc05943d42b98cdbb325f9b22956be1342..e6ff14ff656ffac5da0c8c3046be1104f80db355 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.152 2018/10/01 19:10:56 christos Exp $
+# $File: images,v 1.153 2019/01/22 16:17:25 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 >0     regex/4         P1[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, bitmap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-bitmap
 
 0      search/1        P2
 >0     regex/4         P2[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, greymap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-greymap
 
 0      search/1        P3
 >0     regex/4         P3[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, pixmap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-pixmap
 
 0      string          P4
 >0     regex/4         P4[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, rawbits, bitmap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-bitmap
 
 0      string          P5
 >0     regex/4         P5[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, rawbits, greymap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-greymap
 
 0      string          P6
 >0     regex/4         P6[\040\t\f\r\n]
 >>0    use             netpbm
 >>0    string          x       \b, rawbits, pixmap
-!:strength + 45
+!:strength + 65
 !:mime image/x-portable-pixmap
 
 0      string          P7              Netpbm PAM image file