pageCropScreen(_:didFinishWithImage:cutout:) Instance Method

func pageCropScreen(_ screen: PxUiPageCropScreen, didFinishWithImage image: UIImage, cutout: PxCutout)

References: PxUiPageCropScreen, PxCutout

The user confirmed. image is the (possibly-rotated) source image — its rotation is carried in image.imageOrientation; cutout carries the user-adjusted corners. The adopter runs whatever post-processing it wants (the demo runs crop / dewarp / colour profile via PxRefineFeatures); the screen itself runs no SDK processing.

Top