From: cristy Date: Wed, 15 Dec 2010 01:54:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8389 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f364ed4cd9d8deabbc15ada9e922c76085d971b9;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index 183ec240f..93b0e913c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-12-14 6.6.6-6 Cristy + * -format "%[fx:u.p{5,5}]" no longer reports parse exception (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=17678). + 2010-12-12 6.6.6-6 Glenn Randers-Pehrson * Eliminated a redundant quantization step in the PNG encoder. Untangled a confusing but apparently harmless improper loop nesting diff --git a/magick/fx.c b/magick/fx.c index c88c313d7..18dbb1b46 100644 --- a/magick/fx.c +++ b/magick/fx.c @@ -1518,6 +1518,10 @@ static MagickRealType FxGetSymbol(FxInfo *fx_info,const ChannelType channel, } return(QuantumScale*pixel.index); } + case DefaultChannels: + { + return(QuantumScale*MagickPixelIntensityToQuantum(&pixel)); + } default: break; }