You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`"none"` - No dithering applied (direct conversion to black/white)
218
+
219
+
### About Dithering
220
+
221
+
Dithering is a technique used to convert grayscale or color images to black and white (monochrome) for thermal printers. Since thermal printers can only print black dots, dithering algorithms determine how to represent different shades of gray using patterns of black and white pixels.
222
+
223
+
**When to use different algorithms:**
224
+
-**Floyd-Steinberg** - Best general-purpose choice, good for most images
225
+
-**Atkinson** - Great for images with fine details and text
226
+
-**Sierra/Stucki** - Excellent for photographs and smooth gradients
227
+
-**Ordered dithering (ClusteredDot)** - Best for images that should maintain a "halftone" newspaper-like appearance
228
+
-**None** - Use when you want sharp, high-contrast black and white conversion
200
229
201
230
## Response Codes
202
231
@@ -322,6 +351,16 @@ Here's a complete example that demonstrates printing a receipt with multiple ele
0 commit comments