}
if (SyncImagePixelCache(image,exception) == MagickFalse)
return(MagickFalse);
+ if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
+ return(MagickFalse);
status=MagickTrue;
image_view=AcquireAuthenticCacheView(image,exception);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
(void) SyncImageSettings(mogrify_info,*image,exception);
if (*option == '+')
{
- (void) SetImageRegionMask(*image,ReadPixelMask,
+ (void) SetImageRegionMask(*image,WritePixelMask,
(const RectangleInfo *) NULL,exception);
break;
}
(void) ParseGravityGeometry(*image,argv[i+1],&geometry,exception);
- (void) SetImageRegionMask(*image,ReadPixelMask,&geometry,exception);
+ (void) SetImageRegionMask(*image,WritePixelMask,&geometry,
+ exception);
break;
}
if (LocaleCompare("render",option+1) == 0)
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
if (*option == '+')
{
- (void) SetImageRegionMask(_image,ReadPixelMask,
+ (void) SetImageRegionMask(_image,WritePixelMask,
(const RectangleInfo *) NULL,_exception);
break;
}
(void) ParseGravityGeometry(_image,arg1,&geometry,_exception);
- (void) SetImageRegionMask(_image,ReadPixelMask,&geometry,_exception);
+ (void) SetImageRegionMask(_image,WritePixelMask,&geometry,_exception);
break;
}
if (LocaleCompare("remap",option+1) == 0)