Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DitherErrorDiffusion

Hierarchy

  • DitherErrorDiffusion

Implements

Index

Constructors

constructor

Properties

Private _calculateErrorLikeGIMP

_calculateErrorLikeGIMP: boolean

Private _distance

Private _kernel

_kernel: number[]

Private _minColorDistance

_minColorDistance: number

Private _serpentine

_serpentine: boolean

Methods

Private _fillErrorLine

  • _fillErrorLine(errorLine: number[], width: number): void

Private _setKernel

quantize

Generated using TypeDoc