Added in Version 1.0.0

ImageParameter

画像設定パラメータ

コンストラクタ

ImageParameter(source: string, width: number)

オブジェクトの初期化

プロパティ

source

画像ソース

string

width

横幅(ドット)

number

effectDiffusion

誤差拡散の使用

boolean

threshold

2値化の閾値

number

メソッド

setEffectDiffusion(effectDiffusion: boolean)

誤差拡散の使用を設定

setThreshold(threshold: number)

2値化の閾値を設定

注釈

  • 横方向の指定サイズが1024ドットを超える場合、印刷データが生成されません。(SP700の場合は、255ドット)