[ 
https://issues.apache.org/jira/browse/TIKA-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106121#comment-16106121
 ] 

Nick Burch commented on TIKA-2436:
----------------------------------

In a similar way to how we handle WMZ files, I've added a new mime type entry 
{{image/x-emf-compressed}} for EMZ. No magic, as we can't get the compressed 
inside magic, so it relies (as does WMZ) on the filename to specialise the GZip

As Tim says, Tika will call out to the EMF parser when it is done with the 
decompression of the outer gzip, so I don't know what else you think needs to 
happen for EMZ files?

> Support for GZIP-compressed EMF files
> -------------------------------------
>
>                 Key: TIKA-2436
>                 URL: https://issues.apache.org/jira/browse/TIKA-2436
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime, parser
>    Affects Versions: 1.15
>            Reporter: Matthew Caruana Galizia
>         Attachments: image004.emz
>
>
> Tika is currently detecting EMZ (compressed EMF) files as simple gzip files. 
> These files should instead be detected as EMF files and the EMFParser should 
> perform decompression transparently.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to