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

Is SVG and PDF not supported? #59

Open
tomasrei opened this issue Jun 12, 2024 · 0 comments
Open

Is SVG and PDF not supported? #59

tomasrei opened this issue Jun 12, 2024 · 0 comments

Comments

@tomasrei
Copy link

Hi!

Can svg and pdf be previewed in the viewer using camcorder? I have tried without success.

For example, using the following settings:

camcorder::gg_record(
dir = here("temp_img"),
device = "pdf",
dpi = 300,
width = 30,
height = 34 * 9 / 16, #16:9 aspect ration
units = "cm"
)

Gives me this output:

image

It would be great if this could be implemented otherwise as SVG and PDF are the only vector formats, as far as I know. Maybe there is some know workaround?

Thanks!

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