qchenqizhi / QCropper

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

Image pick from camera displaying black #19

Closed adavanayyappan closed 1 year ago

adavanayyappan commented 1 year ago

@qchenqizhi While taking image using camera and passing image to below function displaying in black color.

let cropper = CropperViewController(originalImage: image)

    cropper.delegate = self

    picker.dismiss(animated: true) {
        self.present(cropper, animated: true, completion: nil)
    }