Code: Select all
F:\web\im>%IM%convert xc:rgb(10%,20%,70%) -evaluate Mean 50% txt:
# ImageMagick pixel enumeration: 1,1,65535,srgb
0,0: (60.0015%,70.0008%,100%) #999AB333FFFF srgb(60.0015%,70.0008%,100%)
I think the problem is in statistic.c, function ApplyEvaluateOperator:
Code: Select all
case MeanEvaluateOperator:
{
result=(MagickRealType) (pixel+value);
break;
}
Code: Select all
case MeanEvaluateOperator:
{
result=(MagickRealType) (pixel+value)/2.0;
break;
}