{"action":"created","issue":{"url":"https://api.github.com/repos/ibireme/YYWebImage/issues/34","labels_url":"https://api.github.com/repos/ibireme/YYWebImage/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYWebImage/issues/34/comments","events_url":"https://api.github.com/repos/ibireme/YYWebImage/issues/34/events","html_url":"https://github.com/ibireme/YYWebImage/issues/34","id":123927343,"number":34,"title":"Transform block sometimes not work","user":{"login":"xspyhack","id":5518285,"avatar_url":"https://avatars.githubusercontent.com/u/5518285?v=3","gravatar_id":"","url":"https://api.github.com/users/xspyhack","html_url":"https://github.com/xspyhack","followers_url":"https://api.github.com/users/xspyhack/followers","following_url":"https://api.github.com/users/xspyhack/following{/other_user}","gists_url":"https://api.github.com/users/xspyhack/gists{/gist_id}","starred_url":"https://api.github.com/users/xspyhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xspyhack/subscriptions","organizations_url":"https://api.github.com/users/xspyhack/orgs","repos_url":"https://api.github.com/users/xspyhack/repos","events_url":"https://api.github.com/users/xspyhack/events{/privacy}","received_events_url":"https://api.github.com/users/xspyhack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-26T12:23:41Z","updated_at":"2015-12-26T16:47:25Z","closed_at":null,"body":"``` Objective-C\r\n - (void)yy_setImageWithURL:(NSURL *)imageURL\r\n               placeholder:(UIImage *)placeholder\r\n                   options:(YYWebImageOptions)options\r\n                  progress:(YYWebImageProgressBlock)progress\r\n                 transform:(YYWebImageTransformBlock)transform\r\n                completion:(YYWebImageCompletionBlock)completion;\r\n```\r\n\r\nThe transform block doesn't invoke **sometimes** when I use this method."},"comment":{"url":"https://api.github.com/repos/ibireme/YYWebImage/issues/comments/167344603","html_url":"https://github.com/ibireme/YYWebImage/issues/34#issuecomment-167344603","issue_url":"https://api.github.com/repos/ibireme/YYWebImage/issues/34","id":167344603,"user":{"login":"ibireme","id":839283,"avatar_url":"https://avatars.githubusercontent.com/u/839283?v=3","gravatar_id":"","url":"https://api.github.com/users/ibireme","html_url":"https://github.com/ibireme","followers_url":"https://api.github.com/users/ibireme/followers","following_url":"https://api.github.com/users/ibireme/following{/other_user}","gists_url":"https://api.github.com/users/ibireme/gists{/gist_id}","starred_url":"https://api.github.com/users/ibireme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibireme/subscriptions","organizations_url":"https://api.github.com/users/ibireme/orgs","repos_url":"https://api.github.com/users/ibireme/repos","events_url":"https://api.github.com/users/ibireme/events{/privacy}","received_events_url":"https://api.github.com/users/ibireme/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T16:47:25Z","updated_at":"2015-12-26T16:47:25Z","body":"I recommend to use a custom image manager with another image cache to store the transformed images.\r\n\r\nFor example:\r\nhttps://github.com/ibireme/YYKit/blob/master/Demo/YYKitDemo/WBStatusHelper.m#L81-L94\r\nhttps://github.com/ibireme/YYKit/blob/master/Demo/YYKitDemo/WBStatusCell.m#L754-L760\r\n\r\nYou man clear your image cache, and run your code again to see the result."}}