continue;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
continue;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(separate_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
Sc: source color.
Dc: canvas color.
*/
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
Sa: normalized source alpha.
Da: normalized canvas alpha.
*/
- if (GetPixelReadMask(source_image,p) == 0)
+ if (GetPixelWriteMask(source_image,p) == 0)
{
p+=GetPixelChannels(source_image);
channels=GetPixelChannels(source_image);
register ssize_t
i;
- if (GetPixelReadMask(source_image,p) == 0)
+ if (GetPixelWriteMask(source_image,p) == 0)
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
}
for (x=0; x < (ssize_t) source_image->columns; x++)
{
- if (GetPixelReadMask(source_image,p) == 0)
+ if (GetPixelWriteMask(source_image,p) == 0)
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
*/
(void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset,source,
exception);
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
break;
}
}
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
p+=GetPixelChannels(texture_image);
q+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
SetPixelBackgoundColor(frame_image,q);
p+=GetPixelChannels(image);
}
for (x=0; x < y; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) (image->columns-y); x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) raise_info->width; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
q+=GetPixelChannels(image);
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) (image->rows-y); x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
{
SetPixelChannel(blur_image,channel,p[center+i],q);
continue;
(sharp_traits == UndefinedPixelTrait))
continue;
if (((sharp_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
{
SetPixelChannel(sharp_image,channel,p[center+i],q);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(blur_image,channel,p[i],q);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(blur_image,channel,p[i],q);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
{
SetPixelChannel(blur_image,channel,p[center+i],q);
continue;
(shade_traits == UndefinedPixelTrait))
continue;
if (((shade_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(linear_image,center) == 0))
+ (GetPixelWriteMask(linear_image,center) == 0))
{
SetPixelChannel(shade_image,channel,center[i],q);
continue;
(unsharp_traits == UndefinedPixelTrait))
continue;
if (((unsharp_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(unsharp_image,channel,p[i],q);
continue;
PixelTrait
traits;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register const Quantum
*magick_restrict r;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(enhance_image,q);
p+=GetPixelChannels(image);
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
red,
intensity;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
green,
red;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if ((GetPixelReadMask(image,q) == 0) ||
+ if ((GetPixelWriteMask(image,q) == 0) ||
IsPixelGray(image,q) != MagickFalse)
{
q+=GetPixelChannels(image);
register ssize_t
j;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
(noise_traits == UndefinedPixelTrait))
continue;
if (((noise_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(noise_image,channel,p[i],q);
continue;
if (traits == UndefinedPixelTrait)
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(colorize_image,q) == 0))
+ (GetPixelWriteMask(colorize_image,q) == 0))
continue;
SetPixelChannel(colorize_image,(PixelChannel) i,ClampToQuantum(
Colorize(q[i],GetPixelInfoChannel(&blend_percentage,(PixelChannel) i),
(fx_traits == UndefinedPixelTrait))
continue;
if (((fx_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(fx_image,channel,p[i],q);
continue;
/*
Determine if the pixel is within an ellipse.
*/
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(implode_image,q);
p+=GetPixelChannels(image);
(morph_traits == UndefinedPixelTrait))
continue;
if (((morph_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(morph_images,p) == 0))
+ (GetPixelWriteMask(morph_images,p) == 0))
{
SetPixelChannel(morph_image,channel,p[i],q);
continue;
register ssize_t
i;
- if (GetPixelReadMask(random_image,q) == 0)
+ if (GetPixelWriteMask(random_image,q) == 0)
{
q+=GetPixelChannels(random_image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
/*
Determine if the pixel is within an ellipse.
*/
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(swirl_image,q);
p+=GetPixelChannels(image);
(tint_traits == UndefinedPixelTrait))
continue;
if (((tint_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(tint_image,channel,p[i],q);
continue;
GetPixelInfo(next,&pixel);
for (x=0; x < (ssize_t) next->columns; x++)
{
- if (GetPixelReadMask(next,p) == 0)
+ if (GetPixelWriteMask(next,p) == 0)
{
SetPixelBackgoundColor(append_image,q);
p+=GetPixelChannels(next);
}
default:
{
- SetPixelGray(mask_image,GetPixelReadMask(image,p),q);
+ SetPixelGray(mask_image,GetPixelWriteMask(image,p),q);
break;
}
}
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) != 0)
+ if (GetPixelWriteMask(image,q) != 0)
SetPixelAlpha(image,alpha,q);
q+=GetPixelChannels(image);
}
(morphology_traits == UndefinedPixelTrait))
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
{
SetPixelChannel(morphology_image,channel,p[center+i],q);
continue;
(morphology_traits == UndefinedPixelTrait))
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
{
SetPixelChannel(morphology_image,channel,p[center+i],q);
continue;
if (traits == UndefinedPixelTrait)
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
continue;
pixels=p;
pixel=(double) QuantumRange;
if (traits == UndefinedPixelTrait)
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p+center) == 0))
+ (GetPixelWriteMask(image,p+center) == 0))
continue;
pixels=p;
pixel=(double) QuantumRange;
(paint_traits == UndefinedPixelTrait))
continue;
if (((paint_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(linear_image,p) == 0))
+ (GetPixelWriteMask(linear_image,p) == 0))
{
SetPixelChannel(paint_image,channel,p[center+i],q);
continue;
pixel=zero;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
pixel=zero;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
GetPixelInfo(image,&pixel);
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(resize_image,q) == 0)
+ if (GetPixelWriteMask(resize_image,q) == 0)
{
q+=GetPixelChannels(resize_image);
continue;
(resize_traits == UndefinedPixelTrait))
continue;
if (((resize_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(resize_image,q) == 0))
+ (GetPixelWriteMask(resize_image,q) == 0))
{
j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double)
stop-1.0)+0.5);
(resize_traits == UndefinedPixelTrait))
continue;
if (((resize_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(resize_image,q) == 0))
+ (GetPixelWriteMask(resize_image,q) == 0))
{
j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double)
stop-1.0)+0.5);
register ssize_t
i;
- if (GetPixelReadMask(sample_image,q) == 0)
+ if (GetPixelWriteMask(sample_image,q) == 0)
{
q+=GetPixelChannels(sample_image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
*/
for (x=0; x < (ssize_t) scale_image->columns; x++)
{
- if (GetPixelReadMask(scale_image,q) == 0)
+ if (GetPixelWriteMask(scale_image,q) == 0)
{
q+=GetPixelChannels(scale_image);
continue;
*/
for (x=0; x < (ssize_t) scale_image->columns; x++)
{
- if (GetPixelReadMask(scale_image,q) == 0)
+ if (GetPixelWriteMask(scale_image,q) == 0)
{
q+=GetPixelChannels(scale_image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,tile_pixels) == 0)
+ if (GetPixelWriteMask(image,tile_pixels) == 0)
{
tile_pixels-=width*GetPixelChannels(image);
q+=GetPixelChannels(rotate_image);
i;
q-=GetPixelChannels(rotate_image);
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,tile_pixels) == 0)
+ if (GetPixelWriteMask(image,tile_pixels) == 0)
{
tile_pixels+=width*GetPixelChannels(image);
q+=GetPixelChannels(rotate_image);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
(threshold_traits == UndefinedPixelTrait))
continue;
if (((threshold_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(threshold_image,channel,p[center+i],q);
continue;
(threshold_traits == UndefinedPixelTrait))
continue;
if (((threshold_traits & CopyPixelTrait) != 0) ||
- (GetPixelReadMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) == 0))
{
SetPixelChannel(threshold_image,channel,p[center+i],q);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
n;
n=0;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(crop_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(excerpt_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(flip_image,q);
p+=GetPixelChannels(image);
i;
q-=GetPixelChannels(flop_image);
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(source,p) == 0)
+ if (GetPixelWriteMask(source,p) == 0)
{
SetPixelBackgoundColor(destination,q);
p+=GetPixelChannels(source);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) == 0)
{
SetPixelBackgoundColor(transpose_image,q);
p+=GetPixelChannels(image);
i;
q-=GetPixelChannels(transverse_image);
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) == 0)
{
p+=GetPixelChannels(image);
continue;
/*
Remove a mask.
*/
- (void) SetImageMask(*image,ReadPixelMask,(Image *) NULL,
+ (void) SetImageMask(*image,WritePixelMask,(Image *) NULL,
exception);
break;
}
mask=GetImageCache(mogrify_info,argv[i+1],exception);
if (mask == (Image *) NULL)
break;
- (void) SetImageMask(*image,ReadPixelMask,mask,exception);
+ (void) SetImageMask(*image,WritePixelMask,mask,exception);
mask=DestroyImage(mask);
break;
}
}
if (LocaleCompare("mask",option+1) == 0)
{
- CLIWandWarnReplaced("-read-mask");
- (void) CLISimpleOperatorImage(cli_wand,"-read-mask",NULL,NULL,
+ CLIWandWarnReplaced("-write-mask");
+ (void) CLISimpleOperatorImage(cli_wand,"-write-mask",NULL,NULL,
exception);
break;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
SetPixelChannel(mask_image,GrayPixelChannel,0,q);
- SetPixelChannel(mask_image,GrayPixelChannel,GetPixelReadMask(image,p),q);
+ SetPixelChannel(mask_image,GrayPixelChannel,GetPixelWriteMask(image,p),q);
p+=GetPixelChannels(image);
q+=GetPixelChannels(mask_image);
}