[Mono-bugs] [Bug 658139] New: UIImage.LoadFromData() returns NULL?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 7 19:46:21 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=658139

https://bugzilla.novell.com/show_bug.cgi?id=658139#c0


           Summary: UIImage.LoadFromData() returns NULL?
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: ykwan at enovatesoft.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Created an attachment (id=403865)
 --> (http://bugzilla.novell.com/attachment.cgi?id=403865)
testcase for the bug

I was doing this previously in MonoTouch 3.1.3 and I was able to retrieve an
Image from a URL back as NSData and load that into a UIImageView's Image
property:

imageView.Image = UIImage.LoadFromData(
MonoTouch.Foundation.NSData.FromStream(e.Result));

e.Result is returned by the Event Handler OpenReadCompletedEventHandler using
WebClient.

After upgrading to MonoTouch 3.2.2 it is not working anymore.

It seems that the UIImage.LoadFromData() is returning null?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list