mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
Fix cropped image support in luma source
This is related to #27, corrects issue introduced with previous fix.
This commit is contained in:
@@ -136,6 +136,7 @@ impl Luma8LuminanceSource {
|
||||
self.data = new_data;
|
||||
self.dimensions = new_dim;
|
||||
self.original_dimension = (self.original_dimension.1, self.original_dimension.0);
|
||||
self.origin = (self.origin.1, self.origin.0);
|
||||
}
|
||||
|
||||
fn transpose(&mut self) {
|
||||
|
||||
Reference in New Issue
Block a user