{
image->intensity=method;
image->type=GrayscaleType;
+ if ((method == Rec601LuminancePixelIntensityMethod) ||
+ (method == Rec709LuminancePixelIntensityMethod))
+ return(SetImageColorspace(image,GRAYColorspace,exception));
return(SetImageColorspace(image,sGRAYColorspace,exception));
}
#endif
image_view=DestroyCacheView(image_view);
image->intensity=method;
image->type=GrayscaleType;
+ if ((method == Rec601LuminancePixelIntensityMethod) ||
+ (method == Rec709LuminancePixelIntensityMethod))
+ return(SetImageColorspace(image,GRAYColorspace,exception));
return(SetImageColorspace(image,sGRAYColorspace,exception));
}
\f