[
https://issues.apache.org/jira/browse/TIKA-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved TIKA-2374.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.16
If a user does not supply a TikaConfig on the commandline, then
extractInlineImages is set to true for all functionality of tika-app's cli. A
warning is written to stderr.
[~gagravarr], if you feel strongly that we should limit this to -z, let me
know. Also, please recommend improvements to the warning message as you see
fit.
> Tika App -z should extract PDF inline images by default
> -------------------------------------------------------
>
> Key: TIKA-2374
> URL: https://issues.apache.org/jira/browse/TIKA-2374
> Project: Tika
> Issue Type: Improvement
> Components: cli
> Affects Versions: 1.14
> Reporter: Nick Burch
> Fix For: 1.16
>
>
> As discussed on dev@ - If you use the Tika App with the default config and
> the {{-z}} extract option, it will extract embedded resources, except PDF
> inline images. This is unexpected for new users, who won't know that they'd
> need to pass in a custom config with the {{extractInlineImages}} PDF parser
> option set
> If the user passes in an explicit config to the app, we should respect that.
> However, if they don't pass one in and take the default, the -z option should
> (but only that one) enable whatever options are needed to make extraction
> work properly + fully (currently just {{extractInlineImages}})
> If possible/easy, the -z option should print out some info to let affected
> users know that the default config was tweaked to give extra embedded
> resources
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)