MonoTouch.UIKit.UIImage.AsJPEG Method
Encodes the image with minimal compression (maximum quality) into a MonoTouch.Foundation.NSData byte blob using the JPEG encoding.

Syntax

public MonoTouch.Foundation.NSData AsJPEG ()

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