From 840918df2ab474f17023fae4b13a89863e4f3857 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Tue, 10 Mar 2026 23:25:20 +0100 Subject: [PATCH] fix: Originalbild im Overlay nicht extra drehen (Orientierung bereits im Cropped-Bild) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Das cropped image ist bereits orientierungskorrigiert. Die zusaetzliche 180°-Rotation ueber imageRotation drehte das Bild falsch herum. imageRotation wird weiter fuer Pixel-Matching genutzt, aber nicht mehr fuer die Bildanzeige. Co-Authored-By: Claude Opus 4.6 --- admin-lehrer/components/ocr-pipeline/StepReconstruction.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/admin-lehrer/components/ocr-pipeline/StepReconstruction.tsx b/admin-lehrer/components/ocr-pipeline/StepReconstruction.tsx index 8bb998e..a0a1cdc 100644 --- a/admin-lehrer/components/ocr-pipeline/StepReconstruction.tsx +++ b/admin-lehrer/components/ocr-pipeline/StepReconstruction.tsx @@ -537,7 +537,6 @@ export function StepReconstruction({ sessionId, onNext }: StepReconstructionProp src={dewarpedUrl} alt="Original" className="w-full h-auto" - style={imageRotation === 180 ? { transform: 'rotate(180deg)' } : undefined} onLoad={(e) => { const img = e.target as HTMLImageElement setImageNaturalSize({ w: img.naturalWidth, h: img.naturalHeight })