GithubHelp home page GithubHelp logo

linecode / screensnap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nasso/screensnap

0.0 1.0 0.0 200 KB

A simple screenshooting program written in Rust

License: MIT License

Rust 98.70% GLSL 1.30%

screensnap's Introduction

screensnap

A simple screenshooting program written in Rust.

Currently only supports Windows; PRs are welcome to add support for other platforms.

Usage

Just run the executable. As of writing, no command line arguments are needed.

While the process is running, it waits for you to press the Print Screen key. It doesn't do anything else (besides setting up the window and OpenGL context so that they're ready as soon as you press the Print Screen key, but that only happens once at startup).

When you press Print Screen, your screen will darken. This is the screensnap cropping window. You can select a rectangular area by clicking and dragging with the left click of the mouse. Alternatively, holding shift will allow you to crop the screenshot to a window of your choice.

As soon as you release, the cropping window closes, and the area you've selected gets copied to your clipboard. Most softwares support pasting images directly from the clipboard.

Key bindings and keystrokes

System-wide

Key/keystroke Action
Print Screen/SysRq/Snapshot Take a screenshot (opens the cropping window)

In the cropping window

The cropping window is the window that opens when you press Print Screen. It darkens the screen and lets you select a rectangle you want to copy to the clipboard. It has a few handy keystrokes:

Key/keystroke Action
Shift (hold) Crop screenshot to individual windows
Ctrl-Shift-Q Kill the process (disables system-wide keystrokes)

Changelog

v1.1.0

  • Improvement: smarter window filters (can now crop screenshots to more kinds of windows, e.g. Telegram Desktop).
  • Fix: better support for Windows 10's virtual desktops
  • Fix: better support for multiple monitor setups
  • Change: window screenshots now contain the non-client area
  • Internal: Refactor the screengrab module
  • Internal: Use the num-traits crate

v1.0.0

  • Initial release

screensnap's People

Contributors

nasso avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.