[Mono-bugs] [Bug 548992] New: UIImage.AsPNG() runs slow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 21 21:18:30 EDT 2009


           Summary: UIImage.AsPNG() runs slow
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ddavis829 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Description of Problem:
UIImage.AsPNG() should be equivalent to the UIImagePNGRepresentation function.
When run on Monotouch, it takes over 8 seconds to complete, while it is less
than a second to run the equivalent in Obj-C. This only happens when run on the

Steps to reproduce the problem:
1. Install the attached project on the iPhone device.
2. Run using an attached debugger(to catch the Console.WriteLine)

Actual Results:
Takes over 8 seconds to complete.

Expected Results:
Should take less than a second.

How often does this happen? 

Additional Information:

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

More information about the mono-bugs mailing list