IMGLYOrientationCropFilter

open class IMGLYOrientationCropFilter : CIFilter

Performes a rotation/flip operation and then a crop. Note that the result of the rotate/flip operation id transfered to a temp CGImage. This is needed since otherwise the resulting CIImage has no no size due the lack of inforamtion within the CIImage.

  • A CIImage object that serves as input for the filter.

    Declaration

    Swift

    @objc
    open var inputImage: CIImage?
  • Undocumented

    Declaration

    Swift

    open var cropRect: CGRect
  • Undocumented

    Declaration

    Swift

    open var rotationAngle: IMGLYRotationAngle
  • Undocumented

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Returns a CIImage object that encapsulates the operations configured in the filter. (read-only)

    Declaration

    Swift

    open override var outputImage: CIImage? { get }
  • Sets internal flags so that the filtered image will be rotated counter-clock-wise around 90 degrees.

    Declaration

    Swift

    open func rotateLeft()
  • Sets internal flags so that the filtered image will be rotated clock-wise around 90 degrees.

    Declaration

    Swift

    open func rotateRight()
  • Sets internal flags so that the filtered image will be rotated flipped along the horizontal axis.

    Declaration

    Swift

    open func flipHorizontal()
  • Sets internal flags so that the filtered image will be rotated flipped along the vertical axis.

    Declaration

    Swift

    open func flipVertical()
  • Undocumented

    Declaration

    Swift

    open override func copy(with zone: NSZone?) -> Any