TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

Some images cannot be kept in its original size.

Open Theome opened this issue 4 years ago • 1 comments

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:

  1. Present a TOCropViewController on an iPhone 11 with an image of size 4032 x 3024
  2. 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.

Theome avatar Jan 26 '21 10:01 Theome

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:

  1. Present a TOCropViewController on an iPhone 11 with an image of size 4032 x 3024
  2. 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

IvesZhan avatar Dec 20 '21 10:12 IvesZhan