From 3b0b391c1df7787234854d38a44d3d47604bf1db Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Mon, 14 Jul 2025 17:07:24 +0200 Subject: [PATCH] Fix rotation --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bd7bef5..b288711 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ fn main() -> eyre::Result<()> { match image_dimensions { (SCREEN_W, SCREEN_H) => {} - (SCREEN_H, SCREEN_W) => image = image.rotate270(), + (SCREEN_H, SCREEN_W) => image = image.rotate90(), _ => bail!("Image must be {SCREEN_W}x{SCREEN_H}"), }