Update UIImage+ASyncRendering.m

Auto detect the image data type