treedepth = 4 で対処する
diff --git a/src/chxj_img_conv_format.c b/src/chxj_img_conv_format.c index 0ed36a8..91b0949 100644 --- a/src/chxj_img_conv_format.c +++ b/src/chxj_img_conv_format.c @@ -1456,7 +1456,7 @@ s_fixup_color(MagickWand *magick_wand, request_rec *r, device_table *spec, img_c if (MagickQuantizeImage(magick_wand, spec->color, RGBColorspace, - 0, + 4, /* tree depth of 4 */ 1, 0) == MagickFalse) { EXIT_MAGICK_ERROR(); @@ -1472,7 +1472,7 @@ s_fixup_color(MagickWand *magick_wand, request_rec *r, device_table *spec, img_c if (MagickQuantizeImage(magick_wand, spec->color, GRAYColorspace, - 0, + 4, /* tree depth of 4 */ 1, 0) == MagickFalse) { EXIT_MAGICK_ERROR();
チケット #25883