Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: <bugzilla_noreply-Et1tbQHTxzrQT0dZR+AlfA <at> public.gmane.org>
Subject: [Bug 658139] New: UIImage.LoadFromData() returns NULL?
Newsgroups: gmane.comp.gnome.mono.bugs
Date: Wednesday 8th December 2010 00:46:21 UTC (over 6 years ago)
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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
 
CD: 3ms