https://blog.awm.jp/2017/02/09/imagemagick-en/).
* Return unbiased standard deviation for image statistics (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31377).
+ * Don't set update trait on alpha channel (private e-mail concerning
+ -levels-colors option).
2017-02-04 7.0.4-7 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.4-7, GIT revision 19513:5783e57:20170204.
register ssize_t
i;
- (void) LogMagickEvent(PixelEvent,GetMagickModule(),"%s[%.20g]",
- image->filename,(double) image->number_channels);
+ (void) LogMagickEvent(PixelEvent,GetMagickModule(),"%s[%08x]",
+ image->filename,image->channel_mask);
for (i=0; i < (ssize_t) image->number_channels; i++)
{
char
image->number_channels=(size_t) n;
if (image->debug != MagickFalse)
LogPixelChannels(image);
- SetImageChannelMask(image,image->channel_mask);
+ SetPixelChannelMask(image,image->channel_mask);
}
\f
/*
SetPixelChannelTraits(image,channel,CopyPixelTrait);
continue;
}
- SetPixelChannelTraits(image,channel,UpdatePixelTrait);
- continue;
- }
- if (image->alpha_trait != UndefinedPixelTrait)
- {
- SetPixelChannelTraits(image,channel,(const PixelTrait)
- (UpdatePixelTrait | BlendPixelTrait));
- continue;
}
+ else
+ if (image->alpha_trait != UndefinedPixelTrait)
+ {
+ SetPixelChannelTraits(image,channel,(const PixelTrait)
+ (UpdatePixelTrait | BlendPixelTrait));
+ continue;
+ }
SetPixelChannelTraits(image,channel,UpdatePixelTrait);
}
if (image->storage_class == PseudoClass)