keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->fill,&exception);
+ &draw_info->fill,exception);
break;
}
if (LocaleCompare(keyword,"family") == 0)
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParseGravityGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
break;
}
if (LocaleCompare(keyword,"gravity") == 0)
if (LocaleCompare(keyword, "stroke") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->stroke,&exception);
+ &draw_info->stroke,exception);
break;
}
if (LocaleCompare(keyword,"strokewidth") == 0)
if (LocaleCompare(keyword, "undercolor") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->undercolor,&exception);
+ &draw_info->undercolor,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &msl_info->image[n]->border_color,&exception);
+ &msl_info->image[n]->border_color,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'R':
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"bordercolor") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &target,&exception);
+ &target,exception);
paint_method=FillToBorderMethod;
break;
}
if (LocaleCompare(keyword,"fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->fill,&exception);
+ &draw_info->fill,exception);
break;
}
if (LocaleCompare(keyword,"fuzz") == 0)
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
geometry.x=StringToLong(value);
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
geometry.y=StringToLong(value);
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
*attribute;
attribute=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if ((attribute != (const char *) NULL) &&
(LocaleCompare(attribute,value) == 0))
{
composite_image=CloneImage(msl_info->image[j],0,0,
- MagickFalse,&exception);
+ MagickFalse,exception);
break;
}
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "color") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &composite_image->background_color,&exception);
+ &composite_image->background_color,exception);
break;
}
if (LocaleCompare(keyword,"compose") == 0)
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
*attribute;
attribute=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if ((attribute != (const char *) NULL) &&
(LocaleCompare(value,value) == 0))
{
SetImageType(composite_image,TrueColorMatteType,
- &exception);
+ exception);
(void) CompositeImage(composite_image,
msl_info->image[j],CopyAlphaCompositeOp,MagickTrue,
- 0,0,&exception);
+ 0,0,exception);
break;
}
}
if (compose != DissolveCompositeOp)
{
(void) SetImageAlpha(composite_image,(Quantum)
- opacity,&exception);
+ opacity,exception);
break;
}
(void) SetImageArtifact(msl_info->image[n],
"compose:args",value);
if (composite_image->alpha_trait == UndefinedPixelTrait)
(void) SetImageAlpha(composite_image,OpaqueAlpha,
- &exception);
- composite_view=AcquireAuthenticCacheView(composite_image,&exception);
+ exception);
+ composite_view=AcquireAuthenticCacheView(composite_image,exception);
for (y=0; y < (ssize_t) composite_image->rows ; y++)
{
q=GetCacheViewAuthenticPixels(composite_view,0,y,
- (ssize_t) composite_image->columns,1,&exception);
+ (ssize_t) composite_image->columns,1,exception);
for (x=0; x < (ssize_t) composite_image->columns; x++)
{
if (GetPixelAlpha(composite_image,q) == OpaqueAlpha)
ClampToQuantum(opacity),q);
q+=GetPixelChannels(composite_image);
}
- if (SyncCacheViewAuthenticPixels(composite_view,&exception) == MagickFalse)
+ if (SyncCacheViewAuthenticPixels(composite_view,exception) == MagickFalse)
break;
}
composite_view=DestroyCacheView(composite_view);
if (LocaleCompare(keyword,"rotate") == 0)
{
rotate_image=RotateImage(composite_image,
- StringToDouble(value,(char **) NULL),&exception);
+ StringToDouble(value,(char **) NULL),exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
{
if (rotate_image != (Image *) NULL)
(void) CompositeImage(image,rotate_image,compose,
- MagickTrue,x,y,&exception);
+ MagickTrue,x,y,exception);
else
(void) CompositeImage(image,composite_image,
- compose,MagickTrue,x,y,&exception);
+ compose,MagickTrue,x,y,exception);
}
if (rotate_image != (Image *) NULL)
rotate_image=DestroyImage(rotate_image);
(double) composite_image->rows,(double) geometry.x,(double)
geometry.y);
flags=ParseGravityGeometry(image,composite_geometry,&geometry,
- &exception);
+ exception);
channel_mask=SetImageChannelMask(image,channel);
if (rotate_image == (Image *) NULL)
CompositeImage(image,composite_image,compose,MagickTrue,geometry.x,
- geometry.y,&exception);
+ geometry.y,exception);
else
{
/*
geometry.y-=(ssize_t) (rotate_image->rows-
composite_image->rows)/2;
CompositeImage(image,rotate_image,compose,MagickTrue,geometry.x,
- geometry.y,&exception);
+ geometry.y,exception);
rotate_image=DestroyImage(rotate_image);
}
(void) SetImageChannelMask(image,channel_mask);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParseGravityGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
}
}
}
- (void) CycleColormapImage(msl_info->image[n],display,&exception);
+ (void) CycleColormapImage(msl_info->image[n],display,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedElement",(const char *) tag);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->fill,&exception);
+ &draw_info->fill,exception);
break;
}
if (LocaleCompare(keyword,"family") == 0)
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
if (LocaleCompare(keyword, "stroke") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->stroke,&exception);
+ &draw_info->stroke,exception);
break;
}
if (LocaleCompare(keyword,"strokewidth") == 0)
if (LocaleCompare(keyword, "undercolor") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->undercolor,&exception);
+ &draw_info->undercolor,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
affine.tx;
draw_info->affine.ty=affine.rx*current.tx+affine.sy*current.ty+
affine.ty;
- (void) DrawImage(msl_info->image[n],draw_info,&exception);
+ (void) DrawImage(msl_info->image[n],draw_info,exception);
draw_info=DestroyDrawInfo(draw_info);
break;
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &msl_info->image[n]->matte_color,&exception);
+ &msl_info->image[n]->matte_color,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
frame_info.width=geometry.width;
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
(void) FormatLocaleString(value,MaxTextExtent,"%.20g",
(double) msl_info->image[n]->rows);
(void) SetImageProperty(msl_info->attributes[n],key,value,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
(void) FormatLocaleString(value,MaxTextExtent,"%.20g",
(double) msl_info->image[n]->columns);
(void) SetImageProperty(msl_info->attributes[n],key,value,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'C':
"xc:",MaxTextExtent);
(void) ConcatenateMagickString(msl_info->image_info[n]->
filename,value,MaxTextExtent);
- next_image=ReadImage(msl_info->image_info[n],&exception);
- CatchException(&exception);
+ next_image=ReadImage(msl_info->image_info[n],exception);
+ CatchException(exception);
if (next_image == (Image *) NULL)
continue;
if (msl_info->image[n] == (Image *) NULL)
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
*attribute;
attribute=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if ((attribute != (const char *) NULL) &&
(LocaleCompare(attribute,value) == 0))
{
affinity_image=CloneImage(msl_info->image[j],0,0,
- MagickFalse,&exception);
+ MagickFalse,exception);
break;
}
}
quantize_info->dither_method=dither != MagickFalse ?
RiemersmaDitherMethod : NoDitherMethod;
(void) RemapImages(quantize_info,msl_info->image[n],
- affinity_image,&exception);
+ affinity_image,exception);
quantize_info=DestroyQuantizeInfo(quantize_info);
affinity_image=DestroyImage(affinity_image);
break;
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"bordercolor") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &target,&exception);
+ &target,exception);
paint_method=FillToBorderMethod;
break;
}
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
geometry.x=StringToLong(value);
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
geometry.y=StringToLong(value);
(void) GetOneVirtualPixelInfo(msl_info->image[n],
TileVirtualPixelMethod,geometry.x,geometry.y,&target,
- &exception);
+ exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
break;
}
(void) QueryColorCompliance("none",AllCompliance,&target,
- &exception);
+ exception);
(void) QueryColorCompliance("none",AllCompliance,&fill_color,
- &exception);
+ exception);
if (attributes != (const xmlChar **) NULL)
for (i=0; (attributes[i] != (const xmlChar *) NULL); i++)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &fill_color,&exception);
+ &fill_color,exception);
break;
}
if (LocaleCompare(keyword,"fuzz") == 0)
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
if (*keyword == '!')
{
Remove a profile from the image.
*/
(void) ProfileImage(msl_info->image[n],keyword,
- (const unsigned char *) NULL,0,&exception);
+ (const unsigned char *) NULL,0,exception);
continue;
}
/*
profile=GetImageProfile(msl_info->image[n],"iptc");
if (profile != (StringInfo *) NULL)
profile_info->profile=(void *) CloneStringInfo(profile);
- profile_image=GetImageCache(profile_info,keyword,&exception);
+ profile_image=GetImageCache(profile_info,keyword,exception);
profile_info=DestroyImageInfo(profile_info);
if (profile_image == (Image *) NULL)
{
*q=(*++p);
break;
}
- profile=FileToStringInfo(filename,~0UL,&exception);
+ profile=FileToStringInfo(filename,~0UL,exception);
if (profile != (StringInfo *) NULL)
{
(void) ProfileImage(msl_info->image[n],name,
GetStringInfoDatum(profile),(size_t)
- GetStringInfoLength(profile),&exception);
+ GetStringInfoLength(profile),exception);
profile=DestroyStringInfo(profile);
}
continue;
if (profile != (StringInfo *) NULL)
(void) ProfileImage(msl_info->image[n],name,
GetStringInfoDatum(profile),(size_t)
- GetStringInfoLength(profile),&exception);
+ GetStringInfoLength(profile),exception);
name=GetNextImageProfile(profile_image);
}
profile_image=DestroyImage(profile_image);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
}
}
}
- (void) QuantizeImage(&quantize_info,msl_info->image[n],&exception);
+ (void) QuantizeImage(&quantize_info,msl_info->image[n],exception);
break;
}
if (LocaleCompare((const char *) tag,"query-font-metrics") == 0)
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->fill,&exception);
+ &draw_info->fill,exception);
break;
}
if (LocaleCompare(keyword,"family") == 0)
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
if (LocaleCompare(keyword, "stroke") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->stroke,&exception);
+ &draw_info->stroke,exception);
break;
}
if (LocaleCompare(keyword,"strokewidth") == 0)
if (LocaleCompare(keyword, "undercolor") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &draw_info->undercolor,&exception);
+ &draw_info->undercolor,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'F':
(void) CopyMagickString(msl_info->image_info[n]->filename,
value,MaxTextExtent);
- image=ReadImage(msl_info->image_info[n],&exception);
- CatchException(&exception);
+ image=ReadImage(msl_info->image_info[n],exception);
+ CatchException(exception);
if (image == (Image *) NULL)
continue;
AppendImageToList(&msl_info->image[n],image);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'G':
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'G':
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParseRegionGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParsePageGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
if ((flags & HeightValue) == 0)
geometry.height=geometry.width;
break;
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'G':
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'D':
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParseRegionGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword,"geometry") == 0)
{
flags=ParseRegionGeometry(msl_info->image[n],value,
- &geometry,&exception);
+ &geometry,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
}
}
(void) SegmentImage(msl_info->image[n],colorspace,verbose,
- geometry_info.rho,geometry_info.sigma,&exception);
+ geometry_info.rho,geometry_info.sigma,exception);
break;
}
else if (LocaleCompare((const char *) tag, "set") == 0)
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'C':
*property;
property=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if (LocaleCompare(property,value) == 0)
{
SetImageMask(msl_info->image[n],msl_info->image[j],
- &exception);
+ exception);
break;
}
}
*property;
property=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if (LocaleCompare(property,value) == 0)
{
SetImageMask(msl_info->image[n],msl_info->image[j],
- &exception);
+ exception);
break;
}
}
ThrowMSLException(OptionError,"UnrecognizedColorspace",
value);
(void) TransformImageColorspace(msl_info->image[n],
- (ColorspaceType) colorspace,&exception);
+ (ColorspaceType) colorspace,exception);
break;
}
(void) SetMSLAttributes(msl_info,keyword,value);
(void) SetImageProperty(msl_info->image[n],keyword,value,
- &exception);
+ exception);
break;
}
case 'D':
}
(void) SetMSLAttributes(msl_info,keyword,value);
(void) SetImageProperty(msl_info->image[n],keyword,value,
- &exception);
+ exception);
break;
}
case 'O':
} else
opac = StringToLong( value );
(void) SetImageAlpha( msl_info->image[n], (Quantum) opac,
- &exception);
+ exception);
break;
}
(void) SetMSLAttributes(msl_info,keyword,value);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'R':
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'G':
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
if (LocaleCompare(keyword, "fill") == 0)
{
(void) QueryColorCompliance(value,AllCompliance,
- &msl_info->image[n]->background_color,&exception);
+ &msl_info->image[n]->background_color,exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedAttribute",
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
}
}
}
- (void) SignatureImage(msl_info->image[n],&exception);
+ (void) SignatureImage(msl_info->image[n],exception);
break;
}
if (LocaleCompare((const char *) tag,"solarize") == 0)
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'I':
{
const char *
theAttr = GetImageProperty(msl_info->attributes[j], "id",
- &exception);
+ exception);
if (theAttr && LocaleCompare(theAttr, value) == 0)
{
watermark = msl_info->image[j];
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'I':
{
const char *
theAttr = GetImageProperty(msl_info->attributes[j], "id",
- &exception);
+ exception);
if (theAttr && LocaleCompare(theAttr, value) == 0)
{
stereoImage = msl_info->image[j];
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword);
}
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
}
}
}
- (void) SyncImage(msl_info->image[n],&exception);
+ (void) SyncImage(msl_info->image[n],exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedElement",(const char *) tag);
keyword=(const char *) attributes[i++];
attribute=InterpretImageProperties(msl_info->image_info[n],
msl_info->attributes[n],(const char *) attributes[i],
- &exception);
+ exception);
CloneString(&value,attribute);
switch (*keyword)
{
*attribute;
attribute=GetImageProperty(msl_info->attributes[j],"id",
- &exception);
+ exception);
if ((attribute != (const char *) NULL) &&
(LocaleCompare(attribute,value) == 0))
{
texture_image=CloneImage(msl_info->image[j],0,0,
- MagickFalse,&exception);
+ MagickFalse,exception);
break;
}
}
}
}
}
- (void) TextureImage(msl_info->image[n],texture_image,&exception);
+ (void) TextureImage(msl_info->image[n],texture_image,exception);
texture_image=DestroyImage(texture_image);
break;
}
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'T':
process image.
*/
{
- BilevelImage(msl_info->image[n],threshold,&exception);
+ BilevelImage(msl_info->image[n],threshold,exception);
break;
}
}
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'C':
target;
(void) QueryColorCompliance(value,AllCompliance,&target,
- &exception);
+ exception);
(void) TransparentPaintImage(msl_info->image[n],&target,
TransparentAlpha,MagickFalse,msl_info->exception);
break;
{
keyword=(const char *) attributes[i++];
CloneString(&value,InterpretImageProperties(msl_info->image_info[n],
- msl_info->attributes[n],(const char *) attributes[i],&exception));
+ msl_info->attributes[n],(const char *) attributes[i],exception));
switch (*keyword)
{
case 'F':