error-diffusion-example.k 340 B

1234567891011
  1. \l error-diffusion.k
  2. / grey scale pbm with range 0 255
  3. / This image is taken from [[https://georgeclinton.com/family/sylvester-stewart/]] and
  4. / converted to a pnm using [[https://imagemagick.org]]
  5. img:.'3_0:"Sylvester-Stewart.pnm"
  6. "img.pnm"0:{s:-1_#'*:\x;("P1";" "/$s)," "/'$~255=ediff[setup[0 255;specs[y]]]@x}[img;"burkes"]
  7. `0:"done"