Compose-Cropper icon indicating copy to clipboard operation
Compose-Cropper copied to clipboard

Wrong aspect ratio after scaling

Open DSrhoj opened this issue 1 year ago • 0 comments

Aspect ratio of cropped image is not exactly the one set in cropProperties.

Steps to reproduce in demo app:

  1. Select 9:16 aspect ratio from settings.
  2. Zoom image in or out. Don't change crop area
  3. Cropp
  4. Result image does not have 9/16 = 0.5625 aspect ratio, but something slightly different

Same behaviour is in static and dynamic mode I did not successfully reproduce this for 1:1 aspect ratio.

DSrhoj avatar Jan 29 '24 17:01 DSrhoj