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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to generate multiple screenshots for a slide, if the slide can scroll? #246

Open
sdharmarajah opened this issue Jun 28, 2022 · 2 comments
Labels

Comments

@sdharmarajah
Copy link

sdharmarajah commented Jun 28, 2022

We just started using Decktape and we love it 馃槃

Our use case is slightly different - our slides have expanding/collapsing widgets, which when expanded increase the slide height beyond the screen's visible area

We can programatically expand all widgets - but Is it possible for Decktape to

  • programmatically scroll down the required amount (in a loop), and
  • generate multiple screenshots for these slides?
@nataschake
Copy link

I vote for this question, although work on a simpler case, namely: if the slide is scrollable (e.g. there is a list with 30 rows), I would sacrifice the formatting but have all rows shown in pdf, let it be 2 slides or more.

@astefanutti
Copy link
Owner

It should be possible for each slide to detect whether there is a scroll down, if yes programmatically scroll the page, generate the screenshot, and iterate until the end of the page has been reached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants