How to reduce the size of the PDF capture file?
- Dominant language
- JavaScript
- Stars
- 32
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
The size of the PDF file seems to be based on the resolution of the monitor, which can cause PDF captures to be rather larger (50MB and greater). Is there a way to reduce the size of the files?
The picture quality is about the same but changing the resolution of the monitor seems to greatly impact the file size. I tried to reduce the scale below 1, which didn't work.
Any input is welcome.
capture_pdf(
selector = "#result-block",
filename = "results",
**scale = 0.5,**
[icon](https://rdrr.io/pkg/shiny/man/icon.html)("camera"), "Take screenshot of results (smaller scale)"
)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.