qchenqizhi / QCropper

Image cropping/rotating/straightening library for iOS in Swift
MIT License
268 stars 51 forks source link

cropbox dimensions #21

Closed SudhakarDalli closed 1 year ago

SudhakarDalli commented 1 year ago

how to set up cropbox width and height fixed ?

qchenqizhi commented 1 year ago

Fixed width and height are currently not supported. If the width and height are fixed, most of the functions of this library will be meaningless.

Maybe you can set a fixed aspect ratio with setAspectRatio(_:) in AspectRatioSettable.