Files
lightcraft/crates/engine
insideTheFluxandClaude Opus 5.5 c0f4f54e7f LR-CROP-RECT: the crop's source size is counted in the turned photo (#2555)
`source_edge_needed` bounds the crop in the photo as shown (turned by its orientation), but counted
the rect's pixels with the unturned width and height. On a photo turned a quarter, a crop whose
aspect differs from the photo's then asked for too small a source: a square crop of a 3:2 photo
shown 2000 px long needs the full-size source, and got the 2560 px preview. It now counts them with
the turned size. The two tests that pinned the old count use the turned size too, and one checks
that square crop. Found by CodeRabbit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CvoftLURuf4uBmSatewB6V
2026-10-27 21:00:50 -07:00
..
2026-10-15 03:40:15 -04:00