bugzilla_noreply | 8 Dec 01:46 2010
Picon

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


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@...
        ReportedBy: ykwan@...
         QAContact: mono-bugs@...
          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.

Gmane