Andreas Meier created TIKA-2628:
-----------------------------------
Summary: Add image/aces media-type detection
Key: TIKA-2628
URL: https://issues.apache.org/jira/browse/TIKA-2628
Project: Tika
Issue Type: Improvement
Components: detector, mime
Affects Versions: 1.17
Reporter: Andreas Meier
The media-type image/aces is currently not implemented in tika-mimetypes.xml.
Possible mime-detection for tika-mimetypes.xml:
{code:xml}
<!-- http://www.iana.org/assignments/media-types/image/aces -->
<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>
{code}
Testfiles can be found in several github projects.
Example:
[https://github.com/ampas/CTL/blob/master/unittest/ctlrender/bars_photoshop.exr|https://github.com/ampas/CTL/blob/master/unittest/ctlrender/bars_photoshop.exr]
Regards
Andreas
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)