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.
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.
- +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{
- CGImageRef rawImageRef=image.CGImage;
- 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.