rs/SDWebImage — pull request #864 by PeteC (2014-08-14 10:55:14+00:00)
Title: Fix transparency being lost from transformed images

When caching an image, the original data is checked for a PNG header to determine whether to cache the image as PNG. If the image has been transformed, the new image may have transparency information even if the original image wasn't a PNG (in my case, I was masking the image before saving)

This change stops the original data being passed to the caching method if the image has been transformed. The caching method then defaults to saving the image as a PNG, maintaining any transparency information that may have been added