}
else
{
- Image
- *resize_alpha;
-
/*
Image has transparency so handle colors and alpha separatly.
Basically we need to separate Virtual-Pixel alpha in the resized
distort alpha channel separately
*/
+ Image
+ *resize_alpha;
+
(void) SetImageAlphaChannel(tmp_image,ExtractAlphaChannel,exception);
(void) SetImageAlphaChannel(tmp_image,OpaqueAlphaChannel,exception);
resize_alpha=DistortImage(tmp_image,AffineDistortion,12,distort_args,
}
if ((IsPixelInfoGray(&distort_image->background_color) == MagickFalse) &&
(IsGrayColorspace(distort_image->colorspace) != MagickFalse))
- (void) TransformImageColorspace(distort_image,sRGBColorspace,exception);
+ (void) TransformImageColorspace(distort_image,RGBColorspace,exception);
if (distort_image->background_color.matte != MagickFalse)
distort_image->matte=MagickTrue;
distort_image->page.x=geometry.x;
*distort_image,
*rotate_image;
- MagickRealType
+ double
angle;
PointInfo