cups-filters icon indicating copy to clipboard operation
cups-filters copied to clipboard

Ghostscript (gstoraster): Introduce cupsHalftoneType dithering algorithms

Open ValdikSS opened this issue 4 months ago • 4 comments

Everything from libcupsfilters MR: https://github.com/OpenPrinting/libcupsfilters/pull/92

Add new dithering (halftone) algorithms in addition to the default Ghostscript one. Controlled either with halftone-type job option or cupsHalftoneType PPD option.

  • Stochastic algotirhm is implemented in stocht.ps Ghostscript library, just include it if cupsHalftoneType is set to yes/true/on/stochastic.
  • Foo2zjs algorithm is a PostScript code taken from foo2zjs-pstops file (don't know the name of the algorithm)

Default algorithm

dither-default

Stochastic algorithm

dither-stoh

Foo2zjs algorithm

dither-foo2zjs

ValdikSS avatar May 27 '25 13:05 ValdikSS