Friday, 12 June 2015

Make UIImage White Background Transparent in iOS

If you came across to a requirement where you want to make UIImage Background Transparent then use below method to achieve it.
  1. +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{
  2. CGImageRef rawImageRef=image.CGImage;
  3. const CGFloat colorMasking[6] = {222, 255, 222, 255, 222, 255};
To Read complete information about “Make UIImage White Background Transparent in iOS” visit FindNerd. Apart from this, you can also ask questions & look for various programming queries along with their solutions including Android, C, Java, Php programming questions and answers etc. as it is an effective technology forum also.

No comments:

Post a Comment