Fix rotation
This commit is contained in:
@ -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}"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user