feat: Das Logo laesst sich zuschneiden

Ein Screenshot von einer Website ist selten schon das Logo – da ist Rand
drumherum oder drei Marken nebeneinander. Nach dem Waehlen kommt deshalb ein
Rahmen: ziehen zum Verschieben, Regler zum Zoomen.

Der Rahmen IST der Ausschnitt. Deshalb nichts abgedunkelt und keine
Hilfslinien darin – man soll das Ergebnis sehen und nicht eine Vorschau
davon, die man erst uebersetzen muss.

Zu Beginn steht das GANZE Bild im Rahmen. Wer nicht zuschneiden will, drueckt
Uebernehmen und bekommt, was er hochgeladen hat; Zuschneiden ist ein Zoom,
kein Zwang. Verschieben geht nur, solange das Bild den Rahmen ueberragt –
sonst schoebe man ein kleines Bild aus seinem eigenen Ausschnitt heraus.

Geschnitten wird im Browser, hochgeladen nur noch der Ausschnitt: Der Server
bekommt kein Bild, das er gar nicht behalten soll.

Der durchsichtige Grund bleibt durchsichtig – ein weisser Kasten fiele auf
dunklem Hintergrund sofort auf.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-09-07 19:50:16 +02:00
co-authored by Claude Opus 5
parent dd2c33725f
commit 9b9ce77267
5 changed files with 259 additions and 5 deletions
+7 -1
View File
@@ -371,7 +371,13 @@
"logoUpload": "Choose image",
"logoRemove": "Remove",
"logoHint": "PNG, JPEG, WEBP or GIF. It is scaled down for you – upload the large one. While there is no logo, the icon below is used.",
"logoAfterSave": "A logo can be attached once the contract is saved. Until then the icon below is used."
"logoAfterSave": "A logo can be attached once the contract is saved. Until then the icon below is used.",
"cropTitle": "Choose the crop",
"cropApply": "Use this",
"cropHint": "Zoom in to pick a section. What you see here is what gets saved.",
"cropHintMove": "Drag to move. What you see here is what gets saved.",
"cropUnreadable": "That is not a readable image. PNG, JPEG, WEBP or GIF work.",
"cropFailed": "The crop could not be created."
},
"import": {
"title": "Import",