Imageview clear color #6

obaidjawad opened this Issue Dec 23, 2012 · 2 comments

3 participants


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.

@hollance hollance closed this Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment