OSDN Git Service
(root)
/
modchxj
/
mod_chxj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0f20a
)
* This is a test commit.
author
Atsushi Konno
<atkonn@gmail.com>
Tue, 2 Aug 2011 21:40:47 +0000
(06:40 +0900)
committer
Atsushi Konno
<atkonn@gmail.com>
Tue, 2 Aug 2011 21:40:47 +0000
(06:40 +0900)
Using a small tree-depth of 4.
Because MagickQuantizeImage() was very slow.
src/chxj_img_conv_format.c
patch
|
blob
|
history
diff --git
a/src/chxj_img_conv_format.c
b/src/chxj_img_conv_format.c
index
2f55765
..
91b0949
100644
(file)
--- a/
src/chxj_img_conv_format.c
+++ b/
src/chxj_img_conv_format.c
@@
-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();