[
https://issues.apache.org/jira/browse/TIKA-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915979#action_12915979
]
Mads Hansen commented on TIKA-519:
----------------------------------
You could also avoid generating temporary files by utilizing the Data URI
Scheme [http://en.wikipedia.org/wiki/Data_URI_scheme] to embed the (base64
encoded) image data inline in the @src attribute of the img element.
> Display embedded images in the GUI Formatted Text pane where they occur in
> the document
> ---------------------------------------------------------------------------------------
>
> Key: TIKA-519
> URL: https://issues.apache.org/jira/browse/TIKA-519
> Project: Tika
> Issue Type: New Feature
> Components: gui
> Affects Versions: 0.7
> Reporter: Nick Burch
> Assignee: Nick Burch
> Priority: Minor
> Attachments: TikaGuiImages.patch
>
>
> Some parsers are now able to generate img tags in their HTML, in the spot
> where an embedded image lives
> I think it would be nice to show these images in the GUI in the graphical
> view. The attached patch will allow the GUI to spot when an embedded: img
> link is found, re-write it to be in a URL to the temporary directory, and
> also request the recursing parser capture it.
> The result is that you can drop a suitable file (eg .docx) onto the gui, and
> in the Formatted Text pane see the image inline
> Are people happy with the patch? (and the idea?)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.