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

Limit capture to a rectangle or window title #50

Open
srvanderplas opened this issue Dec 10, 2024 · 0 comments
Open

Limit capture to a rectangle or window title #50

srvanderplas opened this issue Dec 10, 2024 · 0 comments

Comments

@srvanderplas
Copy link

I would love to be able to automate capturing a specific rectangle periodically, for instance, to get every slide during a zoom presentation.

Current result

Ideal output

I could probably get this after the fact by using imagemagick to crop the images, but this is not optimal for a couple of reasons:

  • I'd have to fiddle with the parameters each time (as opposed to drawing a rectangle to select the bit I want)
  • If only the part I want to save is kept, then I can do a quick comparison to see if there are significant differences between the images and only keep images that are different. This would help keep the total disk space down and would also make it easier to use the screenshots in a note app like Obsidian.

Proposed solution:

  • Provide an option to keep only part of the screen, like the "capture rectangular region" option in most static screenshot tools (spectacle shown here)
    Rectangular screenshot capture

Alternatives:

  • I could probably get this done using imagemagick, but that is a bit less intuitive, requires fiddling with parameters, and might assume that all of the screenshots in a single folder would need to be cropped instead of a simple subset corresponding to e.g. one meeting.

This tool is great and was one of the easier solutions I found to this problem. Thanks so much!

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