import type { DitherKernel } from "./api.js" ; /**
 * Basic 1D (row-based) error diffusion.
 */ export const DIFFUSION_ROW = { ox : [ 1 ] , oy : [ 0 ] , weights : [ 1 ] , shift : 0 , } ; /**
 * Basic 1D (column-based) error diffusion.
 */ export const DIFFUSION_COLUMN = { ox : [ 0 ] , oy : [ 1 ] , weights : [ 1 ] , shift : 0 , } ; /**
 * Basic 2D error diffusion
 */ export const DIFFUSION_2D = { ox : [ 1 , 0 ] , oy : [ 0 , 1 ] , weights : [ 1 , 1 ] , shift : 1 , } ;