fdev31 / ynot3

An image annotator for Xorg & Wayland using pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ynot3

A simple image annotation program compatible with x11 and wayland. Targetting an efficient workflow and minimal dependencies.

  • can save to disk or copy to clipboard (requires xclip or wl-copy).
  • copy to clipboard on exit
  • unlimited undo
  • antialiasing
  • snapping for better alignments (override setting SNAPPING environment variable, defaults to 8)
  • very simple user interface

Supported shapes:

  • enumerated bullets
  • rectangles
  • arrows

Documentation / annotation example

  1. Active tool
    • (4) rectangle
    • (5) arrow
    • (6) enumerated bullet
  2. Active color
  3. Action buttons
    • (7) undo (shorcut: backspace)
    • (8) copy to clipboard (automatic on exit)
    • (9) save to /tmp/annotated.jpg (shortcut: "s")
      • override setting the ANNOTATED environment variable
    • (10) toggle large mode (everything is magnified)
    • (11) clear changes (remove all annotations) (shortcut: "c")

Installation

pip install ynot3

Or, on Archlinux:

yay -S ynot3

Example usage

Edit an existing image

ynote3 ~/Images/example.jpg

Edit a screenshot

A simple script for Wyland using grimshot:

#!/bin/sh
FN="/tmp/shot.png"
grimshot save area "${FN}"
exec ynote3 "${FN}"

About

An image annotator for Xorg & Wayland using pygame


Languages

Language:Python 100.0%