All Projects → quadrupleslap → Scrap

quadrupleslap / Scrap

📸 Screen capture made easy!

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Scrap

Airbash
A POSIX-compliant, fully automated WPA PSK PMKID and handshake capture script aimed at penetration testing
Stars: ✭ 308 (+12.82%)
Mutual labels:  capture, cross-platform
Flameshot
Powerful yet simple to use screenshot software 🖥️ 📸
Stars: ✭ 15,429 (+5551.65%)
Mutual labels:  capture, cross-platform
screencast
Interface to record a X11 desktop
Stars: ✭ 91 (-66.67%)
Mutual labels:  screen, capture
Handy3DScanner
Repository for Handy 3D Scanner
Stars: ✭ 54 (-80.22%)
Mutual labels:  capture
snapcrawl
Crawl a website and take screenshots
Stars: ✭ 37 (-86.45%)
Mutual labels:  capture
Project lemonlime
为了 OI 比赛而生的基于 Lemon + LemonPlus 的轻量评测系统 | 三大桌面系统支持
Stars: ✭ 255 (-6.59%)
Mutual labels:  cross-platform
Ofelia
A real-time cross-platform creative coding tool for multimedia development
Stars: ✭ 269 (-1.47%)
Mutual labels:  cross-platform
MMM-MagicMover
MagicMirror² module to avoid screen burn-in
Stars: ✭ 21 (-92.31%)
Mutual labels:  screen
Easyloggingpp
Single header C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
Stars: ✭ 3,032 (+1010.62%)
Mutual labels:  cross-platform
Menyoki
Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️
Stars: ✭ 255 (-6.59%)
Mutual labels:  capture
ScreenHelper
android 屏幕适配的终极方案: SmallestWidth适配修改和 DisplayMetrics.densityDpi属性, 完美兼容 AndroidX 和 Android 库 ^_^ ,欢迎使用~~
Stars: ✭ 36 (-86.81%)
Mutual labels:  screen
screenAdaptation
Android screen UI adaptation
Stars: ✭ 24 (-91.21%)
Mutual labels:  screen
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (-5.13%)
Mutual labels:  cross-platform
ImageAttachment
Example App to show how to pick an image from Camera/Gallery
Stars: ✭ 23 (-91.58%)
Mutual labels:  capture
Deer
✏️A modern, fast, beautiful note taking app, built on Electron and React
Stars: ✭ 267 (-2.2%)
Mutual labels:  cross-platform
page capture
A Chrome Extension that allows page capturing from within your Web Application.
Stars: ✭ 13 (-95.24%)
Mutual labels:  capture
Cloaker
Simple, drag-and-drop, password-based file encryption
Stars: ✭ 267 (-2.2%)
Mutual labels:  cross-platform
PSDiscoveryProtocol
Capture and parse CDP and LLDP packets on local or remote computers
Stars: ✭ 59 (-78.39%)
Mutual labels:  capture
KeyPlexer
Capstone: Keylogger Trojan
Stars: ✭ 32 (-88.28%)
Mutual labels:  capture
Jcolor
An easy syntax to format your strings with colored fonts and backgrounds.
Stars: ✭ 255 (-6.59%)
Mutual labels:  cross-platform

scrap

Scrap records your screen! At least it does if you're on Windows, macOS, or Linux.

Usage

[dependencies]
scrap = "0.5"

Its API is as simple as it gets!

struct Display; /// A screen.
struct Frame; /// An array of the pixels that were on-screen.
struct Capturer; /// A recording instance.

impl Capturer {
    /// Begin recording.
    pub fn new(display: Display) -> io::Result<Capturer>;

    /// Try to get a frame.
    /// Returns WouldBlock if it's not ready yet.
    pub fn frame<'a>(&'a mut self) -> io::Result<Frame<'a>>;

    pub fn width(&self) -> usize;
    pub fn height(&self) -> usize;
}

impl Display {
    /// The primary screen.
    pub fn primary() -> io::Result<Display>;

    /// All the screens.
    pub fn all() -> io::Result<Vec<Display>>;

    pub fn width(&self) -> usize;
    pub fn height(&self) -> usize;
}

impl<'a> ops::Deref for Frame<'a> {
    /// A frame is just an array of bytes.
    type Target = [u8];
}

The Frame Format

  • The frame format is guaranteed to be packed BGRA.
  • The width and height are guaranteed to remain constant.
  • The stride might be greater than the width, and it may also vary between frames.

System Requirements

OS Minimum Requirements
macOS macOS 10.8
Linux XCB + SHM + RandR
Windows DirectX 11.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].