Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Release 4.0.0-BETA1 - ???

Release 3.3.0 - ???

* Add detection of compressed bmp (TIKA-4511).

* Allow per file timeouts in tika-pipes (TIKA-4497).

* Add matroska detector (TIKA-1180).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6380,20 +6380,48 @@
<magic priority="50">
<match value="BM" type="string" offset="0">
<match value="0x0100" type="string" offset="26">
<match value="0x0000" type="string" offset="28"/>
<match value="0x0100" type="string" offset="28"/>
<match value="0x0400" type="string" offset="28"/>
<match value="0x0800" type="string" offset="28"/>
<match value="0x1000" type="string" offset="28"/>
<match value="0x1800" type="string" offset="28"/>
<match value="0x2000" type="string" offset="28"/>
<match minShouldMatch="2">
<match minShouldMatch="1">
<match value="0x0000" type="string" offset="28"/>
<match value="0x0100" type="string" offset="28"/>
<match value="0x0400" type="string" offset="28"/>
<match value="0x0800" type="string" offset="28"/>
<match value="0x1000" type="string" offset="28"/>
<match value="0x1800" type="string" offset="28"/>
<match value="0x2000" type="string" offset="28"/>
</match>
<match value="0x00000000" type="string" offset="30"/>
</match>
</match>
</match>
</magic>
<glob pattern="*.bmp"/>
<glob pattern="*.dib"/>
</mime-type>

<mime-type type="image/bmp;format=compressed">
<acronym>BMP</acronym>
<_comment>Windows bitmap compressed</_comment>
<tika:link>http://en.wikipedia.org/wiki/BMP_file_format</tika:link>
<tika:uti>com.microsoft.bmp</tika:uti>
<!-- detection could be based on a non-zero value at offset=30.
current strategy is to determine uncompressed if value is zero
at a lower priority.
-->
<magic priority="45">
<match value="BM" type="string" offset="0">
<match value="0x0100" type="string" offset="26">
<match value="0x0000" type="string" offset="28"/>
<match value="0x0100" type="string" offset="28"/>
<match value="0x0400" type="string" offset="28"/>
<match value="0x0800" type="string" offset="28"/>
<match value="0x1000" type="string" offset="28"/>
<match value="0x1800" type="string" offset="28"/>
<match value="0x2000" type="string" offset="28"/>
</match>
</match>
</magic>
<sub-class-of type="image/bmp"/>
</mime-type>
<mime-type type="image/x-bpg">
<acronym>BPG</acronym>
<_comment>Better Portable Graphics</_comment>
Expand Down