[MonoTouch] CGImage bug?

Art coderprojects at gmail.com
Sun Dec 4 18:03:09 EST 2011


Hi,
I couldn't get CGImage related iphone sdk samples to work. Is there a bug or
am I missing something?
For example, the following code doesn't work.  	

CGImage SetTransparent  (UIImage image)
		{
			CGImage rawImageRef = image.CGImage
        CGImage rawImageRef = image.CGImage;
        float [] colorMasking =new float[6] 	{222, 255, 222, 255, 222, 255}
;
	CGImage maskedImageRef = rawImageRef.WithMaskingColors(colorMasking);
return maskedImageRef	
}


Thanks
Art	


--
View this message in context: http://monotouch.2284126.n4.nabble.com/CGImage-bug-tp4158528p4158528.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list