{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
SetImageDepth(image(),depth_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
channel_depth;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
channel_depth=GetImageDepth(constImage(),exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=AdaptiveSharpenImage(constImage(),radius_,sigma_,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=AddNoiseImage(constImage(),noiseType_,1.0,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) SyncImageSettings(imageInfo(),image(),exceptionInfo);
(void) AutoGammaImage(image(),exceptionInfo);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) SyncImageSettings(imageInfo(),image(),exceptionInfo);
(void) AutoLevelImage(image(),exceptionInfo);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
BlackThresholdImage(image(),threshold_.c_str(),exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=BlurImage(constImage(),radius_,sigma_,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
BrightnessContrastImage(image(),brightness_,contrast_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
ClampImage(image(),exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
ClutImage(image(),clutImage_.constImage(),method,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
distortion=0.0;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
GetImageDistortion(image(),reference_.constImage(),metric_,&distortion,
exceptionInfo);
RestorePPChannelMask;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=CompareImages(image(),reference_.constImage(),metric_,distortion,
exceptionInfo);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
ContrastStretchImage(image(),blackPoint_,whitePoint_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
target=static_cast<PixelInfo>(pixelColor(x_,y_));
target.alpha=alpha_;
GetPPException;
- SetPPChannelMask(AlphaChannel);
+ GetAndSetPPChannelMask(AlphaChannel);
FloodfillPaintImage(image(),options()->drawInfo(),&target,x_,y_,
(MagickBooleanType)invert_,exceptionInfo);
RestorePPChannelMask;
target=static_cast<PixelInfo>(target_);
target.alpha=alpha_;
GetPPException;
- SetPPChannelMask(AlphaChannel);
+ GetAndSetPPChannelMask(AlphaChannel);
FloodfillPaintImage(image(),options()->drawInfo(),&target,x_,y_,
(MagickBooleanType)invert_,exceptionInfo);
RestorePPChannelMask;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=FxImage(constImage(),expression_.c_str(),exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=GaussianBlurImage(constImage(),width_,sigma_,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=KuwaharaImage(constImage(),radius_,sigma_,exceptionInfo);
replaceImage(newImage);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) LevelImage(image(),blackPoint_,whitePoint_,gamma_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
black=static_cast<PixelInfo>(blackColor_);
white=static_cast<PixelInfo>(whiteColor_);
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) LevelImageColors(image(),&black,&white,invert_ == true ?
MagickTrue : MagickFalse,exceptionInfo);
RestorePPChannelMask;
"Unable to parse kernel.");
return;
}
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=MorphologyImage(constImage(),method_,iterations_,kernel,
exceptionInfo);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
NegateImage(image(),(MagickBooleanType) grayscale_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) OrderedPosterizeImage(image(),thresholdMap_.c_str(),exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
PerceptibleImage(image(),epsilon_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
PosterizeImage(image(),levels_,method_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
const MagickEvaluateOperator operator_,double rvalue_)
{
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
EvaluateImage(image(),operator_,rvalue_,exceptionInfo);
RestorePPChannelMask;
ThrowImageException;
GetPPException;
cropImage=CropImage(image(),&geometry,exceptionInfo);
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
EvaluateImage(cropImage,operator_,rvalue_,exceptionInfo);
RestorePPChannelMask;
(void) CompositeImage(image(),cropImage,image()->alpha_trait ==
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
(void) RandomThresholdImage(image(),static_cast<std::string>(
thresholds_).c_str(),exceptionInfo);
RestorePPChannelMask;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=RotationalBlurImage(constImage(),angle_,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=SelectiveBlurImage(constImage(),radius_,sigma_,threshold_,
exceptionInfo);
RestorePPChannelMask;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=SharpenImage(constImage(),radius_,sigma_,exceptionInfo);
RestorePPChannelMask;
replaceImage(newImage);
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=SparseColorImage(constImage(),method_,numberArguments_,arguments_,
exceptionInfo);
RestorePPChannelMask;
*newImage;
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
newImage=UnsharpMaskImage(constImage(),radius_,sigma_,amount_,threshold_,
exceptionInfo);
RestorePPChannelMask;
{
modifyImage();
GetPPException;
- SetPPChannelMask(channel_);
+ GetAndSetPPChannelMask(channel_);
WhiteThresholdImage(image(),threshold_.c_str(),exceptionInfo);
RestorePPChannelMask;
ThrowImageException;