Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too low resolution leeds to lines disapearing in table #546

Open
parleur opened this issue Jun 7, 2024 · 0 comments
Open

Too low resolution leeds to lines disapearing in table #546

parleur opened this issue Jun 7, 2024 · 0 comments

Comments

@parleur
Copy link

parleur commented Jun 7, 2024

Hi,
I encountered issues with pdf with thin lines disappearing when rendered by tabula web client. As a result, a vertical line disappears sometimes and two columns get merged. And it is quite random through several pdfs.

I wonder if it could be an aliasing problem when you render the pdf to png, so that increase the definition would solve it. Right now it is hard coded, and I understand increase dpi parameter, would increase the workload for the detection algorithm right after. Maybe should it be an option.

Sadly I cannot publish the faulty pdf ( bank account full of private informations ).

Thank you for your great tool!

image = Utils.pageConvertToImage(page.getPDDoc(), pdfPage, 144, ImageType.GRAY);

and also line 113

@parleur parleur changed the title To low resolution lead to lines disapearing in table Too low resolution lead to lines disapearing in table Jun 7, 2024
@parleur parleur changed the title Too low resolution lead to lines disapearing in table Too low resolution leeds to lines disapearing in table Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant