StackBluriOS
StackBluriOS copied to clipboard
Images downloaded using SDWebImage got blue shade.
Thanks for your work.
This works perfect when we use this with the locally stored image. I was trying to use this with the SDWebImage completion blocks where we set the image to the imageView after the image is downloaded from URL but the blur adds some blue shades all over the image if we use the image downloaded using SDWebImage
Any one faced this issue? Need help!
Thanks.
Update:
i managed to fix this issue by converting the downloaded image with UIImageJPEGRepresentation.
UIImage *processedImage = [[UIImage imageWithData:UIImageJPEGRepresentation(downloadedImage, 1)] stackBlur:10] imageVIew.image = processedImage