Change default dithering kernel to Atkinson
This commit is contained in:
@@ -3,7 +3,7 @@ import type { DitheringKernel, RgbQuantImage } from '$lib/vendor/rgbquant'
|
|||||||
|
|
||||||
export type { DitheringKernel, RgbQuantImage } from '$lib/vendor/rgbquant'
|
export type { DitheringKernel, RgbQuantImage } from '$lib/vendor/rgbquant'
|
||||||
|
|
||||||
export const DEFAULT_DITHERING_KERNEL: DitheringKernel = 'FloydSteinberg'
|
export const DEFAULT_DITHERING_KERNEL: DitheringKernel = 'Atkinson'
|
||||||
|
|
||||||
export type QuantizerOptions = {
|
export type QuantizerOptions = {
|
||||||
ditheringKernel: DitheringKernel | null
|
ditheringKernel: DitheringKernel | null
|
||||||
|
|||||||
Reference in New Issue
Block a user