MIME db: identify ASCII variant of PPM; PBM, PGM files

Change-Id: I05574601bfae0094b7509a123cfd19d7fb02e7fd
Reviewed-on: https://review.haiku-os.org/c/903
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Adrien Destugues 2019-01-26 18:35:21 +01:00 committed by waddlesplash
parent 72c5a125f1
commit 32c7f1e79f
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "image/x-portable-bitmap";
resource(2, "META:SNIFF_RULE") "0.50 (\"P4\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"P4\" | \"P1\")";
resource(3, "META:S:DESC") #'MSDC' "PBM image";

View File

@ -3,7 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "image/x-portable-graymap";
resource(2, "META:SNIFF_RULE") "0.50 (\"P5\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"P5\" | \"P2\")";
resource(3, "META:S:DESC") #'MSDC' "PGM image";

View File

@ -3,7 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "image/x-portable-pixmap";
resource(2, "META:SNIFF_RULE") "0.50 (\"P6\")";
resource(2, "META:SNIFF_RULE") "0.50 (\"P6\" | \"P3\")";
resource(3, "META:S:DESC") #'MSDC' "PPM image";