Update some wrong code comments
This commit is contained in:
parent
7e3482d4fc
commit
e376dad5f6
|
@ -237,7 +237,7 @@ static CGFloat SDImageScaleFromPath(NSString *string) {
|
|||
return YES;
|
||||
}
|
||||
|
||||
#pragma mark - SDAnimatedImage
|
||||
#pragma mark - SDAnimatedImageProvider
|
||||
|
||||
- (NSData *)animatedImageData {
|
||||
return [self.animatedCoder animatedImageData];
|
||||
|
|
|
@ -559,7 +559,7 @@ static inline CGImageRef _Nullable SDCreateCGImageFromCIImage(CIImage * _Nonnull
|
|||
|
||||
#pragma mark - Image Effect
|
||||
|
||||
// We use vImage to do box convolve for performance and support for watchOS. However, you can just use `CIFilter.CIBoxBlur`. For other blur effect, use any filter in `CICategoryBlur`
|
||||
// We use vImage to do box convolve for performance and support for watchOS. However, you can just use `CIFilter.CIGaussianBlur`. For other blur effect, use any filter in `CICategoryBlur`
|
||||
- (nullable UIImage *)sd_blurredImageWithRadius:(CGFloat)blurRadius {
|
||||
if (self.size.width < 1 || self.size.height < 1) {
|
||||
return nil;
|
||||
|
|
Loading…
Reference in New Issue