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

图片和字很模糊 #12

Open
waynevan opened this issue Mar 5, 2021 · 4 comments
Open

图片和字很模糊 #12

waynevan opened this issue Mar 5, 2021 · 4 comments

Comments

@waynevan
Copy link

waynevan commented Mar 5, 2021

https://ftp.bmp.ovh/imgs/2021/03/3f1bda48705c27b8.png

设置quality也没用
weread.scan2pdf('https://weread.qq.com/web/reader/77d32500721a485577d8eee',quality=300)

@Algebra-FUN
Copy link
Owner

事实上,selenium对于尺寸大的网页的sreenshot本身就是糊的……,所以这里算是系统性的缺陷吧,之前我也搜索过解决方案,但都不能较好的解决问题

@sddzcuigc
Copy link

事实上,selenium对于尺寸大的网页的sreenshot本身就是糊的……,所以这里算是系统性的缺陷吧,之前我也搜索过解决方案,但都不能较好的解决问题

可以试试滚动截图。而不是简单粗暴地直接用selenium的无头截图。通过selenium执行js,把比例放大到150%。

@freemedom
Copy link

放大比例的话可以截清楚,但是截不全

@Algebra-FUN
Copy link
Owner

事实上,selenium对于尺寸大的网页的sreenshot本身就是糊的……,所以这里算是系统性的缺陷吧,之前我也搜索过解决方案,但都不能较好的解决问题

可以试试滚动截图。而不是简单粗暴地直接用selenium的无头截图。通过selenium执行js,把比例放大到150%。

首先,感谢你对本项目的关注。我考虑过这个解决方案,但奈何我正处于考研时期,所以暂时无瑕顾及该项目的后续升级迭代工作,请谅解

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

4 participants