You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for raising this issue. Also thanks for linking the issue to the original library. I have requested some help from the original library creator, but I guess he is too busy, so I will look into this as and when I am able to.
I think I was able to fix this issue. Problem is that iOS is capturing photos in ratio 4:3 but ImageView in the plugin is scaling the image to the full view
Changes I made are simple:
IRLCameraView.m:~152 ->
UIImageView *view = [[UIImageView alloc] initWithFrame:self.bounds];
view.transform = CGAffineTransformMakeScale(1.0f, 0.75f); // this is what I added which is basically transforming image to 4:3 scale
the view is stretched, and makes the plugin unusable on iPhone X
https://github.com/charlymr/IRLDocumentScanner/issues/29
The text was updated successfully, but these errors were encountered: