[
https://issues.apache.org/jira/browse/TIKA-5038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Schmidt closed TIKA-5038.
---------------------------------
Resolution: Invalid
Closing, this was a debugging mistake on my side. {{application/illustrator}}
({{*.ai}}) is already a sub-type of {{application/pdf}}, with the
PostScript-based files split off as {{application/illustrator+ps}}, and a
PDF-based {{.ai}} gets its thumbnail from {{/unpack/preset/thumbnail}} like any
PDF. The missing preview I saw came from the client declaring {{.ai}} as
{{application/postscript}}, not from Tika. Sorry for the noise.
> Illustrator: detect PDF-based .ai files as a PDF subtype
> --------------------------------------------------------
>
> Key: TIKA-5038
> URL: https://issues.apache.org/jira/browse/TIKA-5038
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Reporter: Dominik Schmidt
> Priority: Major
>
> Illustrator CS and later writes PDF-compatible files with a {{%PDF}} header.
> They are detected as {{application/illustrator}} and get no rendering.
> Detected as a sub-type of {{application/pdf}}, the existing thumbnail preset
> would render the first page. Related: TIKA-4167.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)