EFStyleResampleImageParamsImage
public class EFStyleResampleImageParamsImage
Image configuration for resampling in resample image QR codes.
-
Creates an image configuration for resampling.
Declaration
Swift
public init( image: EFStyleParamImage, mode: EFImageMode = .scaleAspectFill, contrast: CGFloat = 0, exposure: CGFloat = 0 )
Parameters
image
The image to be used for resampling.
mode
The image mode for resampling. Defaults to scaleAspectFill.
contrast
The contrast adjustment. Defaults to 0.
exposure
The exposure adjustment. Defaults to 0.