You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2018/07/27 14:16:55 UTC

[tika] 21/30: Mime magic for DPX and ACES, thanks to Andreas Meier (TIKA-2628 and TIKA-2629)

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit de53df98a9523955fbdbaeefce00c13eb1b719b3
Author: Nick Burch <ni...@gagravarr.org>
AuthorDate: Thu May 10 22:18:36 2018 +0100

    Mime magic for DPX and ACES, thanks to Andreas Meier (TIKA-2628 and TIKA-2629)
    
    # Conflicts:
    #	CHANGES.txt
---
 .../resources/org/apache/tika/mime/tika-mimetypes.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 77db752..3c4b4ca 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -5019,6 +5019,15 @@
     <glob pattern="*.xyz"/>
   </mime-type>
 
+  <mime-type type="image/aces">
+    <_comment>ACES Image Container File</_comment>
+    <magic priority="50">
+      <match value="0x762F310102000000" type="string" offset="0"/>
+      <match value="0x762F310102040000" type="string" offset="0"/>
+    </magic>
+    <glob pattern="*.exr"/>
+  </mime-type> 
+
   <mime-type type="image/bmp">
     <alias type="image/x-bmp"/>
     <alias type="image/x-ms-bmp"/>
@@ -5068,6 +5077,16 @@
     <glob pattern="*.cgm"/>
   </mime-type>
 
+  <mime-type type="image/x-dpx">
+    <acronym>DPX</acronym>
+    <_comment>Digital Picture Exchange from SMPTE</_comment>
+    <magic priority="50">
+      <match value="SDPX" type="string" offset="0" />
+      <match value="XPDS" type="string" offset="0" />
+    </magic>
+    <glob pattern="*.dpx"/>
+  </mime-type>
+
   <mime-type type="image/emf">
     <alias type="image/x-emf"/>
     <alias type="application/x-emf"/>