Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swash

Swash is a fast screenshot annotator and lightweight image editor for Linux, built with GTK 4 and libadwaita.

Swash annotating the MDN CSS documentation

Features

  • Freehand drawing, highlighting, text, arrows, shapes, and numbered markers
  • Cropping, rotation, flipping, blurring, and annotation erasing
  • Moveable annotations with configurable colors, fills, and sizes
  • Undo and redo history
  • OCR text recognition through Tesseract
  • Copy to the clipboard or save to a file
  • Open image files or read image data from standard input

Installation

Arch Linux

Install Swash from the AUR:

yay -S swash

Build from source

Required dependencies:

  • Meson
  • Ninja
  • pkg-config
  • GTK 4
  • libadwaita 1.6 or newer
  • A C compiler such as GCC or Clang

Tesseract is optional and enables OCR support.

Configure, build, and install Swash into /usr/local:

meson setup build --buildtype=release
meson compile -C build
sudo meson install -C build

The application ID is dev.lemmy.swash.

Usage

Launch Swash without an image:

swash

Show command-line options or the installed version:

swash --help
swash --version

Open an existing image:

swash path/to/image.png

Pipe image data directly into Swash:

grim -g "$(slurp)" - | swash

Use --stdin explicitly and set the suggested filename for saving:

grim -g "$(slurp)" - | swash --stdin --name "Screenshot.png"

Acknowledgements

Swash is a fork of Waytator.

License

Swash is licensed under the GNU General Public License v3.0 or later.

About

Swash is a fast screenshot annotator and lightweight image editor for Linux.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages