EFStyleResampleImageParams

public class EFStyleResampleImageParams : EFStyleParams

Parameters for resample image QR code styling.

This class defines the styling parameters for QR codes that use a resampled image as the basis for module coloring. The QR code’s modules are colored by sampling from a source image, creating a visually blended effect between the QR code and the image.

## Features

  • Image-based module coloring via resampling
  • Customizable alignment, timing, and position patterns
  • Data module color fallback
  • Icon and backdrop support
  • Visually blended, artistic QR codes

## Usage

 let imageParams = EFStyleResampleImageParamsImage(
     image: myImage,
     mode: .scaleAspectFill
 )

 let params = EFStyleResampleImageParams(
     icon: icon,
     backdrop: backdrop,
     image: imageParams,
     align: align,
     timing: timing,
     position: position,
     dataColor: .black
 )

 let style = EFQRCodeStyle.resampleImage(params)