TOCropViewController
TOCropViewController copied to clipboard
Some images cannot be kept in its original size.
Describe the bug
TOCropViewController
crops away small parts of some images even if no such selection has been made. There is no way for the user to not crop these images.
To Reproduce Steps to reproduce the behavior:
- Present a
TOCropViewController
on an iPhone 11 with an image of size4032 x 3024
- Don't make any changes, immediately click Done
Expected behavior The original image and the cropped image are identical.
Observed behavior
The cropped image has size 4032 x 3019
iOS Device:
- Device: iPhone 11
- OS: iOS 14.3
- Library Version: 2.6.0
Additional context If this happens or not seems to depend on the device's screen resolution and the original image's resolution and orientation (it doesn't happen with small images). On an iPhone 11, photos taken with the camera app are large enough to exhibit this bug.
Describe the bug
TOCropViewController
crops away small parts of some images even if no such selection has been made. There is no way for the user to not crop these images.To Reproduce Steps to reproduce the behavior:
- Present a
TOCropViewController
on an iPhone 11 with an image of size4032 x 3024
- Don't make any changes, immediately click Done
Expected behavior The original image and the cropped image are identical.
Observed behavior The cropped image has size
4032 x 3019
iOS Device:
- Device: iPhone 11
- OS: iOS 14.3
- Library Version: 2.6.0
Additional context If this happens or not seems to depend on the device's screen resolution and the original image's resolution and orientation (it doesn't happen with small images). On an iPhone 11, photos taken with the camera app are large enough to exhibit this bug.
the same with me!Many images have the bug