Open davidrzs opened 4 days ago
Will see if possible, may incur extra cost.
Hi @davidrzs, What would be an ideal resolution for your use case?
Our use case is previewing from where a chunk comes.
One idea would be to have a PDF where we jump to the correct page. The problem is that this doesn't work with word files as you might render it differently from how we would transform it into a PDF (e.g. if we do it with soffice we likely have the layout different from you), and extracting from a word is easier than to directly extract from the PDF (correct me if I am wrong).
So the "cheap" alternative would be to display the image of the rendered page instead of the PDF version with an embedded PDF.js. But for this to work the resultion must be great enough such that a normal A4/letter sized page is readable (which is not necessarily the case now).
Let me know what you think would be the best way forward - not sure what the best solution to this use case is.
Is there an option to control the quality of the screenshots? Ideally we would like to show a preview of the page where the text was extracted, but with the given resolution this is not possible as it looks very pixelated.
Is there an option to select a higher resolution for the screenshots?