Hi,

I'm trying to build a UIImage from a byte array containing ARGB data.  My code 
is as follows:

private UIImage ImageFromBytes(byte[] ImageBuffer)
{
        NSData ImgData = NSData.FromArray(ImgBuffer);
        return UIImage.LoadFromData(ImgData);
}

This always returns null for me.  Can someone point out where I'm going wrong.


  

-- 
Best regards,
 UC                          mailto:[email protected]
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to