ResizeSamplingMethod

@objc(ResizeSamplingMethod)
public enum ResizeSamplingMethod : Int

Sampling method used to resize image.

  • Lanczos Sampling method

    Declaration

    Swift

    case lanczos
  • Bicubic Sampling method.

    Declaration

    Swift

    case bicubic
  • Affine transformation resampling. This is the fastest method but results in more edge artifacts.

    Declaration

    Swift

    case affine