assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
clone_wand=(MagickWand *) AcquireMagickMemory(sizeof(*clone_wand));
if (clone_wand == (MagickWand *) NULL)
ThrowWandFatalException(ResourceLimitFatalError,"MemoryAllocationFailed",
clone_wand->images=images;
clone_wand->debug=IsEventLogging();
clone_wand->signature=WandSignature;
-
- if( IfMagickTrue(clone_wand->debug) )
+ if (IfMagickTrue(clone_wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",clone_wand->name);
return(clone_wand);
}
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sharp_image=AdaptiveBlurImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
resize_image=AdaptiveResizeImage(wand->images,columns,rows,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sharp_image=AdaptiveSharpenImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
threshold_image=AdaptiveThresholdImage(wand->images,width,height,bias,
static inline MagickBooleanType InsertImageInWand(MagickWand *wand,
Image *images)
{
- /* if no images in wand, just add them, set current as appropriate */
if (wand->images == (Image *) NULL)
{
- if( IfMagickTrue(wand->insert_before) )
+ /*
+ No images in wand, just add them, set current as appropriate.
+ */
+ if (IfMagickTrue(wand->insert_before))
wand->images=GetFirstImageInList(images);
else
wand->images=GetLastImageInList(images);
return(MagickTrue);
}
-
/* user jumped to first image, so prepend new images - remain active */
- if( IfMagickTrue((wand->insert_before) ) &&
- (wand->images->previous == (Image *) NULL) )
+ if (IfMagickTrue((wand->insert_before)) &&
+ (wand->images->previous == (Image *) NULL))
{
PrependImageToList(&wand->images,images);
wand->images=GetFirstImageInList(images);
return(MagickTrue);
}
- /* Note you should never have 'insert_before' true when current image
- is not the first image in the wand! That is no insert before
- current image, only after current image */
-
- /* if at last image append new images */
+ /*
+ Note you should never have 'insert_before' true when current image is not
+ the first image in the wand! That is no insert before current image, only
+ after current image
+ */
if (wand->images->next == (Image *) NULL)
{
+ /*
+ At last image, append new images.
+ */
InsertImageInList(&wand->images,images);
wand->images=GetLastImageInList(images);
return(MagickTrue);
}
- /* otherwise insert new images, just after the current image */
+ /*
+ Insert new images, just after the current image.
+ */
InsertImageInList(&wand->images,images);
return(MagickTrue);
}
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
assert(add_wand != (MagickWand *) NULL);
assert(add_wand->signature == WandSignature);
if (add_wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",add_wand->name);
-
- /* clone images in second wand, and insert into first */
+ /*
+ Clone images in second wand, and insert into first.
+ */
images=CloneImageList(add_wand->images,wand->exception);
if (images == (Image *) NULL)
return(MagickFalse);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
noise_image=AddNoiseImage(wand->images,noise_type,attenuate,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
draw_info=PeekDrawingWand(drawing_wand);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
draw_info=PeekDrawingWand(drawing_wand);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
(void) CloneString(&wand->image_info->server_name,server_name);
status=AnimateImages(wand->image_info,wand->images,wand->exception);
return(status);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
append_image=AppendImages(wand->images,stack,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=AutoGammaImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=AutoLevelImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
(void) FormatLocaleString(thresholds,MaxTextExtent,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
shift_image=BlueShiftImage(wand->images,factor,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
blur_image=BlurImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
border_info.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=BrightnessContrastImage(wand->images,brightness,contrast,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
fx_image=ChannelFxImage(wand->images,expression,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
charcoal_image=CharcoalImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
chop.width=width;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(ClampImage(wand->images,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ClipImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ClipImagePath(wand->images,pathname,inside,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) || (clut_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ClutImage(wand->images,clut_wand->images,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
coalesce_image=CoalesceImages(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ColorDecisionListImage(wand->images,color_correction_collection,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
GetPixelInfo(wand->images,&target);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (color_matrix == (const KernelInfo *) NULL)
return(MagickFalse);
if (wand->images == (Image *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
combine_image=CombineImages(wand->images,colorspace,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageProperty(wand->images,"comment",comment,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
layers_image=CompareImagesLayers(wand->images,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) || (reference->images == (Image *) NULL))
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(source_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(source_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
- CompositeLayers(wand->images,compose,source_wand->images,x,y,
- wand->exception);
+ CompositeLayers(wand->images,compose,source_wand->images,x,y,wand->exception);
status=MagickTrue; /* FUTURE: determine status from exceptions */
return(status);
}
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ContrastImage(wand->images,sharpen,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ContrastStretchImage(wand->images,black_point,white_point,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (kernel == (const KernelInfo *) NULL)
return(MagickFalse);
if (wand->images == (Image *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
crop.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=CycleColormapImage(wand->images,displace,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
images=ConstituteImage(columns,rows,map,storage,pixels,wand->exception);
if (images == (Image *) NULL)
return(MagickFalse);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(DecipherImage(wand->images,passphrase,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
deconstruct_image=CompareImagesLayers(wand->images,CompareAnyLayer,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sepia_image=DeskewImage(wand->images,threshold,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
despeckle_image=DespeckleImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
image=CloneImage(wand->images,0,0,MagickTrue,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
(void) CloneString(&wand->image_info->server_name,server_name);
status=DisplayImages(wand->image_info,wand->images,wand->exception);
return(status);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
distort_image=DistortImage(wand->images,method,number_arguments,arguments,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
draw_info=PeekDrawingWand(drawing_wand);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
edge_image=EdgeImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
emboss_image=EmbossImage(wand->images,radius,sigma,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(EncipherImage(wand->images,passphrase,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
enhance_image=EnhanceImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=EqualizeImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
evaluate_image=EvaluateImages(wand->images,op,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=EvaluateImage(wand->images,op,value,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ExportImagePixels(wand->images,x,y,columns,rows,map,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
extent.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
flip_image=FlipImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
draw_info=CloneDrawInfo(wand->image_info,(DrawInfo *) NULL);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
flop_image=FlopImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
forward_image=ForwardFourierTransformImage(wand->images,magnitude,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
(void) ResetMagickMemory(&frame_info,0,sizeof(frame_info));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=FunctionImage(wand->images,function,number_arguments,arguments,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
fx_image=FxImage(wand->images,expression,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GammaImage(wand->images,gamma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
blur_image=GaussianBlurImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(GetImageAlphaChannel(wand->images));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelSetPixelColor(background_color,&wand->images->background_color);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*x=wand->images->chromaticity.blue_primary.x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelSetPixelColor(border_color,&wand->images->border_color);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageKurtosis(wand->images,kurtosis,skewness,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageMean(wand->images,mean,standard_deviation,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageRange(wand->images,minima,maxima,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if ((wand->images->colormap == (PixelInfo *) NULL) ||
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->delay);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->depth);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) || (reference->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageDistortion(wand->images,reference->images,metric,distortion,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
assert(reference != (MagickWand *) NULL);
assert(reference->signature == WandSignature);
if ((wand->images == (Image *) NULL) || (reference->images == (Image *) NULL))
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*x=wand->images->chromaticity.green_primary.x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->rows);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->iterations);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*length=GetBlobSize(wand->images);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelSetPixelColor(matte_color,&wand->images->matte_color);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (const MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*width=wand->images->page.width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
image_view=AcquireVirtualCacheView(wand->images,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*x=wand->images->chromaticity.red_primary.x;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
region.width=width;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*x=wand->images->resolution.x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->scene);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
return((char *) NULL);
}
status=SignatureImage(wand->images,wand->exception);
- if( IfMagickFalse(status) )
+ if (IfMagickFalse(status))
return((char *) NULL);
value=GetImageProperty(wand->images,"signature",wand->exception);
if (value == (const char *) NULL)
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return((size_t) wand->images->ticks_per_second);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
*x=wand->images->chromaticity.white_point.x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(wand->images->columns);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
return(GetImageListLength(wand->images));
}
\f
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) || (hald_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=HaldClutImage(wand->images,hald_wand->images,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if (GetNextImageInList(wand->images) == (Image *) NULL)
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if (GetPreviousImageInList(wand->images) == (Image *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
implode_image=ImplodeImage(wand->images,amount,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ImportImagePixels(wand->images,x,y,columns,rows,map,storage,pixels,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
resize_image=InterpolativeResizeImage(wand->images,columns,rows,method,
assert(magnitude_wand != (MagickWand *) NULL);
assert(magnitude_wand->signature == WandSignature);
- if( IfMagickTrue(magnitude_wand->debug) )
+ if (IfMagickTrue(magnitude_wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",
-
magnitude_wand->name);
wand=magnitude_wand;
if (magnitude_wand->images == (Image *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageProperty(wand->images,"label",label,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=LevelImage(wand->images,black_point,white_point,gamma,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=LinearStretchImage(wand->images,black_point,white_point,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
rescale_image=LiquidRescaleImage(wand->images,columns,rows,delta_x,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
magnify_image=MagnifyImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
mosaic_image=MergeImageLayers(wand->images,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
minify_image=MinifyImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
(void) FormatLocaleString(modulate,MaxTextExtent,"%g,%g,%g",
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
montage_info=CloneMontageInfo(wand->image_info,(MontageInfo *) NULL);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
morph_image=MorphImages(wand->images,number_frames,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (kernel == (const KernelInfo *) NULL)
return(MagickFalse);
if (wand->images == (Image *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
blur_image=MotionBlurImage(wand->images,radius,sigma,angle,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=NegateImage(wand->images,gray,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
PixelGetMagickColor(background,&pixel);
images=NewMagickImage(wand->image_info,width,height,&pixel,wand->exception);
if (images == (Image *) NULL)
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->insert_before=MagickFalse; /* Inserts is now appended */
- if( IfMagickTrue(wand->image_pending) )
+ if (IfMagickTrue(wand->image_pending))
{
wand->image_pending=MagickFalse;
return(MagickTrue);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=NormalizeImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
paint_image=OilPaintImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetMagickColor(target,&target_pixel);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
optimize_image=OptimizeImageLayers(wand->images,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
return(MagickFalse);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=OrderedPosterizeImage(wand->images,threshold_map,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
ping_info=CloneImageInfo(wand->image_info);
if (filename != (const char *) NULL)
(void) CopyMagickString(ping_info->filename,filename,MaxTextExtent);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
read_info=CloneImageInfo(wand->image_info);
SetImageInfoBlob(read_info,blob,length);
images=PingImage(read_info,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
assert(file != (FILE *) NULL);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
read_info=CloneImageInfo(wand->image_info);
SetImageInfoFile(read_info,file);
images=PingImage(read_info,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
draw_info=PeekDrawingWand(drawing_wand);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=PosterizeImage(wand->images,levels,dither,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
preview_image=PreviewImage(wand->images,preview,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
-
- if( IfMagickTrue(wand->image_pending) )
+ if (IfMagickTrue(wand->image_pending))
{
wand->image_pending=MagickFalse; /* image returned no longer pending */
return(MagickTrue);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
quantize_info=CloneQuantizeInfo((QuantizeInfo *) NULL);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
quantize_info=CloneQuantizeInfo((QuantizeInfo *) NULL);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
blur_image=RadialBlurImage(wand->images,angle,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
raise_info.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
(void) FormatLocaleString(threshold,MaxTextExtent,"%gx%g",low,high);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
read_info=CloneImageInfo(wand->image_info);
if (filename != (const char *) NULL)
(void) CopyMagickString(read_info->filename,filename,MaxTextExtent);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
images=BlobToImage(wand->image_info,blob,length,wand->exception);
if (images == (Image *) NULL)
return(MagickFalse);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
assert(file != (FILE *) NULL);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
read_info=CloneImageInfo(wand->image_info);
SetImageInfoFile(read_info,file);
images=ReadImage(read_info,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(remap_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
DeleteImageFromList(&wand->images);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
resample_image=ResampleImage(wand->images,x_resolution,y_resolution,filter,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if ((page == (char *) NULL) || (*page == '\0'))
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
resize_image=ResizeImage(wand->images,columns,rows,filter,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
roll_image=RollImage(wand->images,x,y,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetQuantumPacket(background,&wand->images->background_color);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sample_image=SampleImage(wand->images,columns,rows,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
scale_image=ScaleImage(wand->images,columns,rows,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SegmentImage(wand->images,colorspace,verbose,cluster_threshold,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
blur_image=SelectiveBlurImage(wand->images,radius,sigma,threshold,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
separate_image=SeparateImage(wand->images,channel,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sepia_image=SepiaToneImage(wand->images,threshold,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
assert(set_wand != (MagickWand *) NULL);
assert(set_wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",set_wand->name);
-
if (set_wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
images=CloneImageList(set_wand->images,wand->exception);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(SetImageAlphaChannel(wand->images,alpha_type,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetQuantumPacket(background,&wand->images->background_color);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->chromaticity.blue_primary.x=x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetQuantumPacket(border,&wand->images->border_color);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
assert(clip_mask != (MagickWand *) NULL);
assert(clip_mask->signature == WandSignature);
- if( IfMagickTrue(clip_mask->debug) )
+ if (IfMagickTrue(clip_mask->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",clip_mask->name);
-
if (clip_mask->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",clip_mask->name);
return(SetImageMask(wand->images,clip_mask->images,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
PixelGetMagickColor(color,&pixel);
return(SetImageColor(wand->images,&pixel,wand->exception));
}
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if ((wand->images->colormap == (PixelInfo *) NULL) ||
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(SetImageColorspace(wand->images,colorspace,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->compose=compose;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->compression=compression;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->quality=quality;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->delay=delay;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(SetImageDepth(wand->images,depth,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->dispose=dispose;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(SetImageExtent(wand->images,columns,rows,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if (filename != (const char *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if ((format == (char *) NULL) || (*format == '\0'))
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->fuzz=fuzz;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->gamma=gamma;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->gravity=gravity;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->chromaticity.green_primary.x=x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->interlace=interlace;
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% MagickSetImagePixelInterpolateMethod() sets the image interpolate pixel method.
+% MagickSetImagePixelInterpolateMethod() sets the image interpolate pixel
+% method.
%
% The format of the MagickSetImagePixelInterpolateMethod method is:
%
% Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.
%
*/
-WandExport MagickBooleanType MagickSetImagePixelInterpolateMethod(MagickWand *wand,
- const PixelInterpolateMethod method)
+WandExport MagickBooleanType MagickSetImagePixelInterpolateMethod(
+ MagickWand *wand,const PixelInterpolateMethod method)
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->interpolate=method;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->iterations=iterations;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetQuantumPacket(matte,&wand->images->matte_color);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageAlpha(wand->images,ClampToQuantum(QuantumRange*alpha),
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->orientation=orientation;
%
% The format of the MagickSetImagePage method is:
%
-% MagickBooleanType MagickSetImagePage(MagickWand *wand,
-% const size_t width,const size_t height,const ssize_t x,
-% const ssize_t y)
+% MagickBooleanType MagickSetImagePage(MagickWand *wand,const size_t width,% const size_t height,const ssize_t x,const ssize_t y)
%
% A description of each parameter follows:
%
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->page.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->chromaticity.red_primary.x=x;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->rendering_intent=rendering_intent;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->resolution.x=x_resolution;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->scene=scene;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->ticks_per_second=ticks_per_second;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(SetImageType(wand->images,image_type,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->units=units;
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return(UndefinedVirtualPixelMethod);
return(SetImageVirtualPixelMethod(wand->images,method,wand->exception));
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->chromaticity.white_point.x=x;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
shade_image=ShadeImage(wand->images,gray,asimuth,elevation,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
shadow_image=ShadowImage(wand->images,alpha,sigma,x,y,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sharp_image=SharpenImage(wand->images,radius,sigma,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
shave_info.width=columns;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetQuantumPacket(background,&wand->images->background_color);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SigmoidalContrastImage(wand->images,sharpen,alpha,beta,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) || (reference->images == (Image *) NULL))
{
(void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sketch_image=SketchImage(wand->images,radius,sigma,angle,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
smush_image=SmushImages(wand->images,stack,offset,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SolarizeImage(wand->images,threshold,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
sparse_image=SparseColorImage(wand->images,method,number_arguments,arguments,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
splice.width=width;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
spread_image=SpreadImage(wand->images,radius,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
statistic_image=StatisticImage(wand->images,type,width,height,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(watermark_wand->images == (Image *) NULL))
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(offset_wand->images == (Image *) NULL))
{
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(StripImage(wand->images,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
swirl_image=SwirlImage(wand->images,degrees,method,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if ((wand->images == (Image *) NULL) ||
(texture_wand->images == (Image *) NULL))
{
if (texture_image == (Image *) NULL)
return((MagickWand *) NULL);
status=TextureImage(texture_image,texture_wand->images,wand->exception);
- if( IfMagickFalse(status) )
+ if (IfMagickFalse(status))
{
texture_image=DestroyImage(texture_image);
return((MagickWand *) NULL);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=BilevelImage(wand->images,threshold,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
thumbnail_image=ThumbnailImage(wand->images,columns,rows,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if (wand->images->colorspace != CMYKColorspace)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
-
if (wand->images == (Image *) NULL)
return((MagickWand *) NULL);
transform_image=CloneImage(wand->images,0,0,MagickTrue,wand->exception);
if (transform_image == (Image *) NULL)
return((MagickWand *) NULL);
status=TransformImage(&transform_image,crop,geometry,wand->exception);
- if( IfMagickFalse(status) )
+ if (IfMagickFalse(status))
{
transform_image=DestroyImage(transform_image);
return((MagickWand *) NULL);
{
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
return(TransformImageColorspace(wand->images,colorspace,wand->exception));
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
PixelGetMagickColor(target,&target_pixel);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
transpose_image=TransposeImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
transverse_image=TransverseImage(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wand->images->fuzz=fuzz;
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
unique_image=UniqueImageColors(wand->images,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
unsharp_image=UnsharpMaskImage(wand->images,radius,sigma,amount,threshold,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
vignette_image=VignetteImage(wand->images,radius,sigma,x,y,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
wave_image=WaveImage(wand->images,amplitude,wave_length,method,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
(void) FormatLocaleString(thresholds,MaxTextExtent,
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
if (filename != (const char *) NULL)
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
assert(file != (FILE *) NULL);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
image=CloneImage(wand->images,0,0,MagickTrue,wand->exception);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
write_info=CloneImageInfo(wand->image_info);
assert(wand != (MagickWand *) NULL);
assert(wand->signature == WandSignature);
- if( IfMagickTrue(wand->debug) )
+ if (IfMagickTrue(wand->debug))
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
write_info=CloneImageInfo(wand->image_info);