diff options
| author | Mike Wey | 2011-07-13 23:33:25 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-07-13 23:33:25 +0200 |
| commit | bd91f8f1e8aedbb8d892463cb67ec66ffce55458 (patch) | |
| tree | 7d6c4d658c838a4b0128a9a14edd5dc7bcd652c7 /dmagick/Options.d | |
| parent | f06f0170c6879e5bfd47a0330129acea61835f03 (diff) | |
Add randomThreshold, reduceNoise and remap
Diffstat (limited to 'dmagick/Options.d')
| -rw-r--r-- | dmagick/Options.d | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/dmagick/Options.d b/dmagick/Options.d index 05d957b..6e6ae6b 100644 --- a/dmagick/Options.d +++ b/dmagick/Options.d @@ -1113,6 +1113,22 @@ class Options } /** + * The basic strategy of dithering is to trade intensity resolution for + * spatial resolution by averaging the intensities of several neighboring + * pixels. Images which suffer from severe contouring when reducing + * colors can be improved with this option. + */ + void quantizeDitherMethod(DitherMethod method) + { + quantizeInfo.dither_method = method; + } + ///ditto + DitherMethod quantizeDitherMethod() + { + return quantizeInfo.dither_method; + } + + /** * Depth of the quantization color classification tree. * Values of 0 or 1 allow selection of the optimal tree _depth * for the color reduction algorithm. Values between 2 and 8 @@ -1130,5 +1146,4 @@ class Options //MagickBooleanType measure_error; //size_t signature; - //DitherMethod dither_method; } |
