Explorar el Código

* 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 hace 16 años
padre
commit
53268650a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      pipi/dither/dbs.c

+ 1
- 1
pipi/dither/dbs.c Ver fichero

@@ -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;



Cargando…
Cancelar
Guardar