Files
photocraft/crates/engine
Hartmut Noerenberg 7504d4eabc fix(engine): Image Rotation Arbitrary follows the Image Interpolation preference
The rotation dialog seeded its Interpolation field from the params-doc
default and `rotate_arbitrary_with` fell back to bicubic, so Preferences >
General > Image Interpolation (`general.image_interpolation`) never reached
`image.rotation.arbitrary`. The command entry point now fills the
`interpolation` param from the preference when the param is absent, the
dialog seeds its field from the preference on open, and
`rotate_arbitrary_with` keeps the bicubic default so the Crop tool's
rotated crop and Straighten keep today's behaviour exactly. The param
stays for scripts and actions (#7630). New tests in
`crates/engine/src/cmd/rotate_canvas_interpolation_pref_tests.rs` cover
Nearest/Bilinear/Bicubic preferences with and without an explicit param,
the not-measured preference variants and the unchanged Crop/Straighten
paths.

Fixes #14465. Part of #14461 (EPIC-ROTATE-CANVAS).
2026-11-14 17:49:14 +01:00
..