imgredactor

command module
v0.0.0-...-c03f686 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: BSD-2-Clause Imports: 24 Imported by: 0

README

imgredactor

Entfernt personenbezogene Daten aus Screenshots (PNG, JPG) – schnell, mit Schwärz-Stift, Weichzeichner und Radierer. Gebaut mit gift.

go run . [ordner]
  • Ordner öffnen: oben links, oder als Argument. Unten erscheint die Filmleiste mit allen Bildern, darüber groß das aktuelle Bild.
  • Werkzeuge: Schwärzen (deckend schwarz), Radierer (stellt das Original wieder her), Weichzeichnen (starker Blur). Die Pinselgröße stellt der Slider ein; der Kreis unter dem Mauszeiger zeigt sie.
  • Speichern geschieht automatisch, sobald ein anderes Bild gewählt, der Ordner geschlossen oder das Fenster geschlossen wird – und nur, wenn sich etwas geändert hat. Die Datei wird atomar ersetzt; das Format bleibt.
  • Solange das Bild offen ist, liegen alle Änderungen nur im Speicher: Rückgängig nimmt den letzten Strich zurück, Zurücksetzen alle.
Taste Wirkung
← / → vorheriges / nächstes Bild
1 / 2 / 3 (S / R / W) Schwärzen / Radierer / Weichzeichnen
[ / ] Pinsel kleiner / größer
⌘Z / Strg+Z letzten Strich rückgängig
⇧ + Klick gerade Linie vom Ende des letzten Strichs

Hinweise: Gespeicherte JPEGs verlieren ihre EXIF-Daten (inklusive Ort), und für die Thumbnails gibt es bewusst keinen Platten-Cache, damit keine Kopien der ungeschwärzten Bilder liegen bleiben. Schwärzen ist sicherer als Weichzeichnen.

Documentation

Overview

Command imgredactor removes personal data from screenshots: open a folder, pick a picture in the strip at the bottom and paint over what must go with the black pen, the blur brush or the eraser that brings the original back.

go run . [folder]

A changed picture is saved over its file as soon as another one is opened, the folder is closed or the window is closed. Until then every change lives in memory only and can be undone or reset.

Directories

Path Synopsis
internal
redact
Package redact holds the pixels of one screenshot while it is being redacted: the picture as it was opened, the picture as it is now, and what it takes to undo, reset and save the difference.
Package redact holds the pixels of one screenshot while it is being redacted: the picture as it was opened, the picture as it is now, and what it takes to undo, reset and save the difference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL