Added in Version 1.0.0

ImageParameter

Image setting parameters

Constructor

ImageParameter(source: string, width: number)

Initialize object

Property

source

Image source

width

Width (dots)

effectDiffusion

Use of effect diffusion

threshold

Threshold for binarization

Method

setEffectDiffusion(effectDiffusion: boolean)

Set the use of effect diffusion

setThreshold(threshold: number)

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. (For SP700, it is 255 dots.)