You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2022/05/12 10:53:00 UTC

[jira] [Created] (TIKA-3755) Improve rendering interface to allow for more general output

Tim Allison created TIKA-3755:
---------------------------------

             Summary: Improve rendering interface to allow for more general output
                 Key: TIKA-3755
                 URL: https://issues.apache.org/jira/browse/TIKA-3755
             Project: Tika
          Issue Type: Task
            Reporter: Tim Allison


As a start, RenderResult had a path for the rendered image.  This is likely to be the most common case for renderers, especially external (commandline) renderers.  However, it would also be useful to allow BufferedImage as an output.

If we change the RenderResult to return an InputStream, we can handle both cases with a TikaInputStream.  That can handle paths or a BufferedImage with an openContainer.

While we're at it, it would be useful to allow selection of rendering for PDFs upfront before the parse (as we currently have), but also per page.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)