Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIImage RenderingMode not persisted in cache #92

Open
lifely opened this issue Dec 15, 2015 · 0 comments
Open

UIImage RenderingMode not persisted in cache #92

lifely opened this issue Dec 15, 2015 · 0 comments

Comments

@lifely
Copy link

lifely commented Dec 15, 2015

Hi,

First thanks for that pretty cool library, seems to perfectly fit the job i was looking for with a pretty interfaces around it.

I wanted to report a bug where the image attributes are lost when using hnk_setImage:withKey:.
In particular i'm referring to the image Rendering mode.

I'm extensively using the renderingMode - UIImageRenderingModeAlwaysTemplate in my app.

while using Haneke 1.0.0 this is my temporary solution :

[imageView hnk_setImage:image withKey:key placeholder:nil success:^(UIImage *image) {
    imageView.image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
} failure:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant