Merge pull request #383 from garthex/white_png_issue

fix alpha pngs turning into white pngs
This commit is contained in:
Olivier Poitrey 2013-05-14 02:57:12 -07:00
commit ff2b30e263
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@
if (transformedImage && finished)
{
NSData *dataToStore = isImageGIF ? data : nil;
NSData *dataToStore = [transformedImage isEqual:downloadedImage] ? data : nil;
[self.imageCache storeImage:transformedImage imageData:dataToStore forKey:key toDisk:cacheOnDisk];
}
});