Andreas Meier created TIKA-2629:
-----------------------------------

             Summary: Add image/x-dpx media-type detection
                 Key: TIKA-2629
                 URL: https://issues.apache.org/jira/browse/TIKA-2629
             Project: Tika
          Issue Type: Improvement
          Components: detector, mime
    Affects Versions: 1.17
            Reporter: Andreas Meier


 The media-type image/x-dpx is currently not implemented in tika-mimetypes.xml.

Possible mime-detection for tika-mimetypes.xml:


{code:xml}
 <mime-type type="image/x-dpx">
    <_comment>SMPTE Digital Picture Exchange Format, SMPTE DPX</_comment>
    <_comment>ANSI/SMPTE 268M-1994, SMPTE Standard for File Format for 
Digital</_comment>
    <_comment>Moving-Picture Exchange (DPX), v2.0, 29 December 2014</_comment>
    <magic priority="50">
      <match value="SDPX" type="string" offset="0" />
      <match value="XPDS" type="string" offset="0" />
    </magic>
    <glob pattern="*.dpx"/>
  </mime-type>
{code}


Testfiles can be found in several github projects.
Example: [link 
https://github.com/ampas/CTL/blob/master/unittest/ctlrender/|https://github.com/ampas/CTL/blob/master/unittest/ctlrender/]

Regards

Andreas



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to