Added in Version 2.3.0

PageModeImageParameter

Image setting parameters

Constructor

init(image: UIImage, x: Double, y: Double, width: Int)

Initialize object

Property

image

Image data

x

X position of the start position (top left) of the image (mm)

y

Y position of the start position (top left) of the image (mm)

width

Width (dots)

effectDiffusion

Use of effect diffusion

threshold

Threshold for binarization

Method

setEffectDiffusion(_ effectDiffusion: Bool)

Set the use of effect diffusion

setThreshold(_ threshold: Int)

Set the threshold for binarization

Note

  • If the specified size of the horizontal direction is more than 1024 dots, the printing data is not generated.