Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teak/pusshcap
Simple command line exe to capture screenshots
https://github.com/teak/pusshcap
Last synced: about 1 month ago
JSON representation
Simple command line exe to capture screenshots
- Host: GitHub
- URL: https://github.com/teak/pusshcap
- Owner: teak
- License: mit
- Created: 2015-02-07T10:21:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T10:05:05.000Z (almost 10 years ago)
- Last Synced: 2024-12-16T01:52:34.792Z (about 1 month ago)
- Language: C#
- Size: 172 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PusshCap
Simple command line exe to capture screenshots.There is a compiled 64 bit exe for convenience.
Requires .NET Framework to be installed.
Captures the screen that the mouse cursor is on to the file specified as the only command line argument. If there are no args, it will save to 'cap.png' in the same directory as the exe. Always saves as PNG.
Outputs one line to stdout. A comma separated list of useful info about the screen of which the shot was taken:
screen-bounds-x,screen-bounds-y,screen-bounds-width,screen-bounds-height,mouse-x,mouse-y,filename-or-path
The screen bounds are taken directly from a .NET rectangle and are relative to the main screen. They can be negative, depending on screen orientation.
https://msdn.microsoft.com/en-us/library/system.drawing.rectangle%28v=vs.110%29.aspx
MIT License