From fb1764e12e71f9bf162f49e4b5611feaa4adc711 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 19 Aug 2018 10:15:25 +0000 Subject: [PATCH] don't require the use to match for printing mime info --- magic/Magdir/images | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/magic/Magdir/images b/magic/Magdir/images index 68a28269..bb71e755 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: images,v 1.150 2018/08/01 12:43:51 christos Exp $ +# $File: images,v 1.151 2018/08/19 10:15:25 christos Exp $ # images: file(1) magic for image formats (see also "iff", and "c-lang" for # XPM bitmaps) # @@ -174,42 +174,42 @@ 0 search/1 P1 >0 regex/4 P1[\040\t\f\r\n] >>0 use netpbm ->>>0 string x \b, bitmap +>>0 string x \b, bitmap !:strength + 45 !: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 +>>0 string x \b, greymap !:strength + 45 !: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 +>>0 string x \b, pixmap !:strength + 45 !: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 +>>0 string x \b, rawbits, bitmap !:strength + 45 !: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 +>>0 string x \b, rawbits, greymap !:strength + 45 !: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 +>>0 string x \b, rawbits, pixmap !:strength + 45 !:mime image/x-portable-pixmap -- 2.50.0