[MonoTouch] CGImage bug?

Rolf Bjarne Kvinge rolf at xamarin.com
Tue Dec 6 10:54:31 EST 2011


Hi,

This looks like a bug, can you please file it here:
http://bugzilla.xamarin.com with a complete reproducible test case?

Rolf

On Mon, Dec 5, 2011 at 12:03 AM, Art <coderprojects at gmail.com> wrote:

> 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.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111206/df81290c/attachment.html 


More information about the MonoTouch mailing list