Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Imageview clear color #6

obaidjawad opened this Issue · 2 comments

3 participants

obaidjawad kdp8791 Matthijs Hollemans

Hi, at first i'd like to thank you for providing with this library, and another thing is I have a problem regarding the background color of the imageview. I'm using the url.png format. So the images are displayed with the black background. However I want to clear the color and it should be transparent as it should be. Can I do that?


Based on the demo in the project, you would need to modify the - (UIImage *)scaleImage:(UIImage *)image toSize:(CGSize)size method in the RootViewController class.

The first line reads: UIGraphicsBeginImageContextWithOptions(size, YES, 0.0f);

Change the second parameter (YES) to NO. This fixed the issue for me. Hope this helps!


Great, thank you very much it fixed my problem.

Matthijs Hollemans hollance closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.