Commit 5b9e267
committed
fix: use -colors 2 instead of -monochrome for Floyd-Steinberg 1-bit dithering
-monochrome and -type Bilevel force a 50% threshold algorithm that discards
the Floyd-Steinberg error diffusion matrix, resulting in hard threshold
cut-off instead of the expected dither pattern. Using -colors 2 preserves
the error diffusion while still reducing to a 2-color palette.
Fixes #481 parent 3680950 commit 5b9e267
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments