From 66bb556e563645d4dd1897b14f8fb984ad9eb848 Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Wed, 22 Jun 2016 13:30:06 -0500 Subject: [PATCH] Ephoto: Use an incrementing hack to get the desired dithered effect. --- src/bin/ephoto_filters.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/ephoto_filters.c b/src/bin/ephoto_filters.c index 689a477..862d5d1 100644 --- a/src/bin/ephoto_filters.c +++ b/src/bin/ephoto_filters.c @@ -754,7 +754,12 @@ _dither(void *data) ef->im_data_new[index] = (a << 24) | (rr << 16) | (gg << 8) | bb; } +/*Extra incrementing the x and y values to get + * the desired checkerboard effect is likely a + * bad hack*/ + x++; } + y++; passes++; if (passes == 500) {