Added ordered dithering example to README

This commit is contained in:
2026-04-02 15:26:15 +03:00
parent 6b22d8465e
commit 5535bfe290

View File

@@ -33,9 +33,12 @@ You can find more info on the available Widgets and their parameters at the end
### Convert image without dithering
`convert trmnl.png -monochrome -colors 2 -depth 1 -strip png:output.png`
### Convert image with dithering
### Convert image with Floyd Steinberg dithering (For normal images)
`convert trmnl.png -dither FloydSteinberg -remap pattern:gray50 -depth 1 -strip png:output.png`
### Convert image with Ordered dithering (For flat colors)
`convert trmnl.png -ordered-dither o2x2 -remap pattern:gray50 -depth 1 -strip png:output.png`
### Resize image to fit with dithering
`convert image.png -resize 800x480 -background white -compose Copy -gravity center -extent 800x480 -dither FloydSteinberg -remap pattern:gray50 -depth 1 -strip png:output.png`