Thanks Rayfleck! It worked.
To add additional compatibility with mesh displays (corrects intermittent letters while increasing the size of the image "@ 2x"):
replace:
UIGraphicsBeginImageContext(img.size);
with conditional:
if (UIGraphicsBeginImageContextWithOptions != NULL) UIGraphicsBeginImageContextWithOptions(img.size,NO,0.0); else UIGraphicsBeginImageContext(img.size);
source share