MonoTouch.UIKit.UIImage.AsPNG Method
Encodes the image into a MonoTouch.Foundation.NSData byte blob using the PNG encoding.

Syntax

public MonoTouch.Foundation.NSData AsPNG ()

Returns

The encoded image in an NSData wrapper or null if there was an error.

Remarks

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0