(void) CloneString(&draw_info->geometry,geometry);
status=AnnotateImage(wand->images,draw_info,wand->exception);
draw_info=DestroyDrawInfo(draw_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
(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);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=AutoGammaImage(wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=AutoLevelImage(wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
PixelGetRedQuantum(threshold),PixelGetGreenQuantum(threshold),
PixelGetBlueQuantum(threshold),PixelGetAlphaQuantum(threshold));
status=BlackThresholdImage(wand->images,thresholds,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=BrightnessContrastImage(wand->images,brightness,contrast,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ClipImage(wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ClipImagePath(wand->images,pathname,inside,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
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);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ColorDecisionListImage(wand->images,color_correction_collection,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageProperty(wand->images,"comment",comment,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=CompositeImage(wand->images,source_wand->images,compose,clip_to_self,
x,y,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
CompositeLayers(wand->images,compose,source_wand->images,x,y,wand->exception);
status=MagickTrue; /* FUTURE: determine status from exceptions */
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ContrastImage(wand->images,sharpen,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ContrastStretchImage(wand->images,black_point,white_point,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=CycleColormapImage(wand->images,displace,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
(void) CloneString(&wand->image_info->server_name,server_name);
status=DisplayImages(wand->image_info,image,wand->exception);
image=DestroyImage(image);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
(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);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
draw_info->primitive=primitive;
status=DrawImage(wand->images,draw_info,wand->exception);
draw_info=DestroyDrawInfo(draw_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=EqualizeImage(wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=EvaluateImage(wand->images,op,value,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ExportImagePixels(wand->images,x,y,columns,rows,map,
storage,pixels,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status=FloodfillPaintImage(wand->images,draw_info,&target,x,y,invert,
wand->exception);
draw_info=DestroyDrawInfo(draw_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=FunctionImage(wand->images,function,number_arguments,arguments,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GammaImage(wand->images,gamma,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageKurtosis(wand->images,kurtosis,skewness,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageMean(wand->images,mean,standard_deviation,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageRange(wand->images,minima,maxima,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=GetImageDistortion(wand->images,reference->images,metric,distortion,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if ((wand->images == (Image *) NULL) || (hald_wand->images == (Image *) NULL))
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=HaldClutImage(wand->images,hald_wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=ImportImagePixels(wand->images,x,y,columns,rows,map,storage,pixels,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageProperty(wand->images,"label",label,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=LevelImage(wand->images,black_point,white_point,gamma,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=LinearStretchImage(wand->images,black_point,white_point,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
(void) FormatLocaleString(modulate,MaxTextExtent,"%g,%g,%g",
brightness,saturation,hue);
status=ModulateImage(wand->images,modulate,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=NegateImage(wand->images,gray,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=NormalizeImage(wand->images,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
wand->images->fuzz=fuzz;
status=OpaquePaintImage(wand->images,&target_pixel,&fill_pixel,invert,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=OrderedPosterizeImage(wand->images,threshold_map,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=PosterizeImage(wand->images,levels,dither,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
quantize_info->measure_error=measure_error;
status=QuantizeImage(quantize_info,wand->images,wand->exception);
quantize_info=DestroyQuantizeInfo(quantize_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
quantize_info->measure_error=measure_error;
status=QuantizeImages(quantize_info,wand->images,wand->exception);
quantize_info=DestroyQuantizeInfo(quantize_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
raise_info.x=x;
raise_info.y=y;
status=RaiseImage(wand->images,&raise_info,raise,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status=RemapImage(quantize_info,wand->images,remap_wand->images,
wand->exception);
quantize_info=DestroyQuantizeInfo(quantize_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SegmentImage(wand->images,colorspace,verbose,cluster_threshold,
smooth_threshold,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SetImageAlpha(wand->images,ClampToQuantum(QuantumRange*alpha),
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SigmoidalContrastImage(wand->images,sharpen,alpha,beta,
wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=SolarizeImage(wand->images,threshold,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status;
status=MagickThresholdImageChannel(wand,DefaultChannels,threshold);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
WandExport MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
status=BilevelImage(wand->images,threshold,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
wand->images->fuzz=fuzz;
status=TransparentPaintImage(wand->images,&target_pixel,ClampToQuantum(
QuantumRange*alpha),invert,wand->exception);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status=WriteImage(write_info,image,wand->exception);
image=DestroyImage(image);
write_info=DestroyImageInfo(write_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status=WriteImage(write_info,image,wand->exception);
write_info=DestroyImageInfo(write_info);
image=DestroyImage(image);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
write_info->adjoin=adjoin;
status=WriteImages(write_info,wand->images,filename,wand->exception);
write_info=DestroyImageInfo(write_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}
\f
/*
status=WriteImages(write_info,wand->images,(const char *) NULL,
wand->exception);
write_info=DestroyImageInfo(write_info);
- return(status);
+ return(status == MagickFalse ? 0 : 1);
}