Skip to content
MrTangLuyaoPublic

About

A tiny, fast screenshot and pin tool written in assembly and C, with OCR and long screenshots

Topics

Resources

Stars

331 stars

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

sniplite icon

sniplite

A tiny, fast screenshot and pin tool, with its core written in assembly

English 简体中文 繁體中文 日本語 한국어 Français Deutsch Español

version system license

Download | Default shortcuts | FAQ

Select an area and draw circles, arrows, text and numbers right on it
Before a capture, the window or control under the mouse is found for you; the magnifier shows pixels and colors Pin a screenshot or text on top of the screen; the wheel zooms
Read the text of what you select; a table keeps its columns
Scroll a page and it is stitched into one long screenshot

Features

  • Fast: press F1 and the screenshot is there, sooner than in 99% of screenshot tools
  • Light: about 320 KB, nothing else to install; the capture and drawing core is written in assembly
  • Pins: pin a screenshot on top of every other window, so it stays in view while you work
  • Complete: screenshots, pins, arrows, text, mosaic, spotlight, magnifier: it is all there
  • Text recognition: read the text in a capture, tables included; an optional module that runs entirely on your computer
  • Long screenshots: scroll a page and it is stitched together as you go
  • Clean: no ads, open source, no logs, no data collected
  • Multilingual: 8 languages, following Windows unless you pick one

Download

Get the latest installer from Releases.

There are two portable versions too, with nothing to install: sniplite_<version>_portable_x64.exe, and sniplite_<version>_portable_with_OCR_x64.exe, which carries the text recognition module.

Tip

The icon is at the right end of the taskbar; click the small arrow there if you do not see it. To keep it in view, search Windows Settings for "Other system tray icons" and turn sniplite on.

Default shortcuts

Key What it does
F1 Capture
Shift+F1 Quick capture: the screen under the mouse straight into a file (the folder is set in Settings)
F3 Pin the copied image or text to the screen
Shift+F3 Hide / show all pins
F4 Capture and read the text (with the text recognition module)
Shift+F4 Capture and copy the text
Enter Copy the capture
Ctrl+S Save the capture
Ctrl+T Pin the capture to the screen
Middle click Pin the capture to the screen
Ctrl+O Recognize the text of the selection
Ctrl+Shift+C Copy the text of the selection
Ctrl+L Long screenshot: scroll, and it is stitched
Esc Cancel the capture
Arrow keys, W A S D Move the cursor or the selection by one pixel; with Shift, by ten
Wheel Capturing: pick a bigger or smaller window; on a pin: zoom
Double-click Close a pin

FAQ

How big is it?

Tiny: under 1 MB.

Why is it so fast?

The parts that have to be fast (capture, composition, drawing and the capture overlay) are written in x86-64 assembly and the rest in C, with no C runtime. A screenshot is read straight from the graphics card and handed to Windows to compose on the GPU, which is much faster than the usual ways of capturing the screen on Windows.

How does it compare with other tools?

Tool Download Memory when idle Hotkey to ready
sniplite 0.4 MB 11 MB 12 ms
Snipaste 2.11.3 19 MB 50 MB 121 ms
PixPin 3.6.6 66 MB 31 MB 142 ms
Greenshot 1.3.328 4 MB 16 MB 252 ms
Flameshot 15.0.0 18 MB 6 MB not measured
ShareX 22.4.0 139 MB 58 MB not measured

This is an informal test, for reference only.

How do I get the text out of a screenshot?

Select an area and click the text button (Ctrl+O): the text appears in a panel beside the selection, where you can select, edit and copy it. A table keeps its columns and pastes into a spreadsheet as cells, or as Markdown if you prefer. Ctrl+Shift+C copies the text straight away. It needs the text recognition module (12 MB; PaddleOCR PP-OCRv6 models on ONNX Runtime, running entirely on your computer): install it on the OCR page of Settings, tick it in the installer, or use the portable version with OCR. Until it is installed, the text buttons are not shown. F4 and Shift+F4 start a capture that reads or copies the text right away.

How do I take a long screenshot?

Select the area, click the long screenshot button (Ctrl+L) and scroll the page yourself. sniplite stitches what scrolls by, and a strip beside the area shows the result so far. Enter copies it and Esc cancels; you can also save it, pin it or read its text.

Where are my captures saved?

Ctrl+S opens the save dialog in the folder you last saved to; the first time, or if that folder is gone, in the default save location if you changed it, else in Pictures. Quick captures (Shift+F1) go straight into the default save location, which is the desktop until you change it on the Capture page of Settings. Tick "Also save each capture as a file" there, and every capture you copy or pin goes into that folder too. Under File name format, on the same page, you pick how the files are named, from a few patterns with the date and time.

What if the hotkeys get in the way of a game?

On the Hotkeys page of Settings, tick "Leave the hotkeys to full-screen apps (like games)": while a program that fills its screen is in front, sniplite lets go of its hotkeys and the keys reach that program; they come back when you switch away. Programs that do not run full screen can be added under "Leave the hotkeys to": click Manage, then New to type a file name such as game.exe, or Browse to pick the program.

How much memory does it use?

About 50 MB most of the time, nearly all of it held by the graphics driver, and a little more right after a capture. To use less, choose Low memory on the Capture page of Settings: about 2 MB, with slower captures.

What does it leave on my computer?

It needs no administrator rights and does not touch the registry. Changing a setting, or saving through the save dialog (it remembers the folder), creates one settings file; delete it to get the defaults back.

How do I change the language?

sniplite follows the language of Windows. To use another, open Settings from the tray icon and pick it under Language.

How do I update?

Once a day sniplite asks GitHub whether there is a newer version. If there is, a notification appears at the bottom right, and one click updates. Only the version number is checked and nothing is uploaded; you can turn this off in Settings. The portable versions do not look for updates: get the new one from Releases.

How do I uninstall it?

Click "Uninstall sniplite" in the sniplite folder of the Start menu. The program, its settings and its shortcuts are removed.

Is there a command line?

Yes. Run sniplite help to see it.

Settings

The six pages of the settings, the shortcut list and the installer

Build it yourself

Install w64devkit (or another MinGW-w64), add its bin folder to PATH and run build.bat; the programs appear in the build folder. The source is in src: the fast parts are assembly files (.S), assembled by gcc with the GNU assembler, the rest is C (.c). No C runtime is linked, only the system libraries that come with Windows.

License

MIT

Third-party open source

sniplite itself uses nothing but the system libraries of Windows. The optional text recognition module is the work of others, passed on unchanged with their licenses (they, or links to them, are in the module's ocr folder and on the module's release page):

  • ONNX Runtime 1.26.0, Copyright (c) Microsoft Corporation, MIT License
  • The Microsoft Visual C++ runtime 14.51.36247 that ONNX Runtime needs (msvcp140.dll, msvcp140_1.dll, vcruntime140.dll, vcruntime140_1.dll), Copyright (c) Microsoft Corporation, not open source: redistributed under Microsoft's license terms
  • The PP-OCRv6 models of PaddleOCR, Copyright (c) PaddlePaddle Authors, Apache License 2.0
  • Their ONNX form comes from RapidOCR, Apache License 2.0

About

A tiny, fast screenshot and pin tool written in assembly and C, with OCR and long screenshots

Topics

Resources

Stars

331 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages