pub fn apply_document_orientation(
image: ImageBuffer<Rgb<u8>, Vec<u8>>,
angle: f32,
) -> ImageBuffer<Rgb<u8>, Vec<u8>>Expand description
Rotates the image by the detected document orientation (0/90/180/270°); unsupported angles return the image unchanged.