diff --git a/SDWebImage/UIImage+Transform.m b/SDWebImage/UIImage+Transform.m index acf86fb1..cd1c65c7 100644 --- a/SDWebImage/UIImage+Transform.m +++ b/SDWebImage/UIImage+Transform.m @@ -228,7 +228,7 @@ static inline UIColor * SDGetColorFromPixel(Pixel_8888 pixel, CGBitmapInfo bitma CGContextSaveGState(context); [path addClip]; - CGContextDrawImage(context, rect, self.CGImage); + [self drawInRect:rect]; CGContextRestoreGState(context); }