From b3842fb61c829b0b62e7b8a058b8a86cd83aa0e7 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 22 Jan 2019 16:17:25 +0000 Subject: [PATCH] Make netpbm beat DOS/MBR magic again (Kamil Dudka) Upstream-commit: d2f82e2601e551badc03c4ac7a463d8e18f53e32 Signed-off-by: Kamil Dudka --- magic/Magdir/images | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/magic/Magdir/images b/magic/Magdir/images index fd20261..afe906c 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -175,42 +175,42 @@ >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 -- 2.20.1