fix rotation regression for Luma8

part of #27. This is an issue with get_matrix after a rotation.
This commit is contained in:
Henry Schimke
2023-03-16 14:01:31 -05:00
parent 112e20c9c3
commit 4bb228073a
2 changed files with 3 additions and 2 deletions

View File

@@ -134,7 +134,8 @@ impl Luma8LuminanceSource {
}
}
self.data = new_data;
self.dimensions = new_dim
self.dimensions = new_dim;
self.original_dimension = (self.original_dimension.1, self.original_dimension.0);
}
fn transpose(&mut self) {