return(constOptions()->quantizeDither());
}
+void Magick::Image::quantizeDitherMethod(const DitherMethod ditherMethod_)
+{
+ modifyImage();
+ options()->quantizeDitherMethod(ditherMethod_);
+}
+
+MagickCore::DitherMethod Magick::Image::quantizeDitherMethod(void) const
+{
+ return(constOptions()->quantizeDitherMethod());
+}
+
void Magick::Image::quantizeTreeDepth(const size_t treeDepth_)
{
modifyImage();
void quantizeDither(const bool ditherFlag_);
bool quantizeDither(void) const;
+ // Dither method
+ void quantizeDitherMethod(const DitherMethod ditherMethod_);
+ DitherMethod quantizeDitherMethod(void) const;
+
// Quantization tree-depth
void quantizeTreeDepth(const size_t treeDepth_);
size_t quantizeTreeDepth(void) const;
void quantizeDither(bool ditherFlag_);
bool quantizeDither(void) const;
+ // Dither method
+ void quantizeDitherMethod(DitherMethod ditherMethod_);
+ DitherMethod quantizeDitherMethod(void) const;
+
// Quantization tree-depth
void quantizeTreeDepth(size_t treeDepth_);
size_t quantizeTreeDepth(void) const;
return(static_cast<bool>(_imageInfo->dither));
}
+void Magick::Options::quantizeDitherMethod(DitherMethod ditherMethod_)
+{
+ _quantizeInfo->dither_method=ditherMethod_;
+}
+
+MagickCore::DitherMethod Magick::Options::quantizeDitherMethod(void) const
+{
+ return(_quantizeInfo->dither_method);
+}
+
void Magick::Options::quantizeTreeDepth(size_t treeDepth_)
{
_quantizeInfo->tree_depth=treeDepth_;