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)

Reply via email to