|
6380 | 6380 | <magic priority="50"> |
6381 | 6381 | <match value="BM" type="string" offset="0"> |
6382 | 6382 | <match value="0x0100" type="string" offset="26"> |
6383 | | - <match value="0x0000" type="string" offset="28"/> |
6384 | | - <match value="0x0100" type="string" offset="28"/> |
6385 | | - <match value="0x0400" type="string" offset="28"/> |
6386 | | - <match value="0x0800" type="string" offset="28"/> |
6387 | | - <match value="0x1000" type="string" offset="28"/> |
6388 | | - <match value="0x1800" type="string" offset="28"/> |
6389 | | - <match value="0x2000" type="string" offset="28"/> |
| 6383 | + <match minShouldMatch="2"> |
| 6384 | + <match minShouldMatch="1"> |
| 6385 | + <match value="0x0000" type="string" offset="28"/> |
| 6386 | + <match value="0x0100" type="string" offset="28"/> |
| 6387 | + <match value="0x0400" type="string" offset="28"/> |
| 6388 | + <match value="0x0800" type="string" offset="28"/> |
| 6389 | + <match value="0x1000" type="string" offset="28"/> |
| 6390 | + <match value="0x1800" type="string" offset="28"/> |
| 6391 | + <match value="0x2000" type="string" offset="28"/> |
| 6392 | + </match> |
| 6393 | + <match value="0x00000000" type="string" offset="30"/> |
| 6394 | + </match> |
6390 | 6395 | </match> |
6391 | 6396 | </match> |
6392 | 6397 | </magic> |
6393 | 6398 | <glob pattern="*.bmp"/> |
6394 | 6399 | <glob pattern="*.dib"/> |
6395 | 6400 | </mime-type> |
6396 | | - |
| 6401 | + <mime-type type="image/bmp;format=compressed"> |
| 6402 | + <acronym>BMP</acronym> |
| 6403 | + <_comment>Windows bitmap compressed</_comment> |
| 6404 | + <tika:link>http://en.wikipedia.org/wiki/BMP_file_format</tika:link> |
| 6405 | + <tika:uti>com.microsoft.bmp</tika:uti> |
| 6406 | + <!-- detection could be based on a non-zero value at offset=30. |
| 6407 | + current strategy is to determine uncompressed if value is zero |
| 6408 | + at a lower priority. |
| 6409 | + --> |
| 6410 | + <magic priority="45"> |
| 6411 | + <match value="BM" type="string" offset="0"> |
| 6412 | + <match value="0x0100" type="string" offset="26"> |
| 6413 | + <match value="0x0000" type="string" offset="28"/> |
| 6414 | + <match value="0x0100" type="string" offset="28"/> |
| 6415 | + <match value="0x0400" type="string" offset="28"/> |
| 6416 | + <match value="0x0800" type="string" offset="28"/> |
| 6417 | + <match value="0x1000" type="string" offset="28"/> |
| 6418 | + <match value="0x1800" type="string" offset="28"/> |
| 6419 | + <match value="0x2000" type="string" offset="28"/> |
| 6420 | + </match> |
| 6421 | + </match> |
| 6422 | + </magic> |
| 6423 | + <sub-class-of type="image/bmp"/> |
| 6424 | + </mime-type> |
6397 | 6425 | <mime-type type="image/x-bpg"> |
6398 | 6426 | <acronym>BPG</acronym> |
6399 | 6427 | <_comment>Better Portable Graphics</_comment> |
|
0 commit comments