dschmidt commented on PR #3096:
URL: https://github.com/apache/tika/pull/3096#issuecomment-5513786424

   Just to make sure I get it right:
   🤖 suggests to just document what parse-context to use for the specific 
rendering thumbnail extraction behavior?
   
   It's exactly what I wanted to avoid to be honest - it doesn't make sense as 
global config (in the metadata request I want OCR, in the thumbnails request I 
don't), I don't want to hardcode this in my application and I don't want to 
make it config in my application.
   
   The idea is to make it *easy* to retrieve thumbnails (as part of a metadata 
request and also as a standalone "just give me a thumbnail, I don't care"). 
   
   In my use case (OpenCloud) I want to support previews for as many file 
formats as possible and Tika itself will always know better what it supports 
than any third party consumer. Moreover, I would really like to avoid having to 
maintain configs for different Tika versions, 
   
   Maybe we can have some kind of preset functionality?
   Tika could provide some default presets like `render-thumbnails` but users 
could also provide custom ones via settings ... I'm completely open to any idea 
or suggestion, I just really want to keep this config out of consuming 
applications
   
   
   P.S.: yes, of course we can split maxRenderedPages out of this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to