addImage should not generate the weird line above the table.
noppadolraksasiripong opened this issue · comments
jspdf version: 2.5.1
html-to-image: 1.11.11
I use html-to-image to generate a PNG, then use jsPdf.addImage(). When I open this pdf in the Chrome browser, the problematic line will appear. (disappear after zooming in enough)
Is it possible to fix that?
PDF example : border-test.pdf
![image](https://private-user-images.githubusercontent.com/129723323/304165589-0b3b4c5b-0f1f-457a-a8b0-2463efaf2104.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU3ODU3NDIsIm5iZiI6MTcxNTc4NTQ0MiwicGF0aCI6Ii8xMjk3MjMzMjMvMzA0MTY1NTg5LTBiM2I0YzViLTBmMWYtNDU3YS1hOGIwLTI0NjNlZmFmMjEwNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxNVQxNTA0MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNzFhZDQ0YjMyNThhMWMxNTlhNWJkZmUzYWE1NWNjNWM3ZjJiZWNlYjdiZjUxNjQ3NGEwZWNmZWM2NzBlZDEwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.s_ecnUnHN3ESflM2wAS2S_HuFz46mW-_OqZtXv0T3Yw)
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.