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

Nick Burch commented on TIKA-1491:
----------------------------------

Thanks, mime magic added in r1644596.

Any chance you could also produce a small test .bpg file for us? Ideally with 
the same metadata as the .jpg file we have offers? We can then use that for a 
mime magic test, and later also have it ready for a .bpg parser test once 
there's a suitable Java BPG library to depend on

> Identification of BPG (Better Portable Graphics) format
> -------------------------------------------------------
>
>                 Key: TIKA-1491
>                 URL: https://issues.apache.org/jira/browse/TIKA-1491
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>    Affects Versions: 1.6
>            Reporter: Johan van der Knijff
>            Priority: Minor
>              Labels: bpg
>             Fix For: 1.7
>
>         Attachments: custom-mimetype-bpg.xml
>
>
> Following the release of the [BPG (Better Portable 
> Graphics)|http://bellard.org/bpg/] format a few days ago, I created the magic 
> definitions for this format. See attached file. I've tested this against the 
> example files listed [here|http://fileformats.archiveteam.org/wiki/BPG].
> Note that no officially registered MIME type exists for this format. I picked 
> {{image/bpg}} as this would be the most obvious choice, but I don't know if 
> Tika sticks to any policy in such cases?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to