Skip to content

Images downloaded using SDWebImage got blue shade. #24

Description

@rajapandians

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions