Bläddra i källkod

* dbs.c: generate the initial halftone using random dithering instead of

Floyd-Steinberg in order to avoid the energy level getting locally stuck
    around error diffusion structure artifacts.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2672 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 år sedan
förälder
incheckning
53268650a7
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      pipi/dither/dbs.c

+ 1
- 1
pipi/dither/dbs.c Visa fil

@@ -76,7 +76,7 @@ pipi_image_t *pipi_dither_dbs(pipi_image_t *img)
tmp1p = pipi_getpixels(tmp1, PIPI_PIXELS_Y_F);
tmp1data = (float *)tmp1p->pixels;

dst = pipi_dither_floydsteinberg(src, PIPI_SCAN_SERPENTINE);
dst = pipi_dither_random(src);
dstp = pipi_getpixels(dst, PIPI_PIXELS_Y_F);
dstdata = (float *)dstp->pixels;



Laddar…
Avbryt
Spara