MonoMac.CoreGraphics.CGImage.FromJPEG Method
Creates a CGImage from a JPEG-encoded image.

Syntax

public static CGImage FromJPEG (CGDataProvider provider, float[] decode, bool shouldInterpolate, CGColorRenderingIntent intent)

Parameters

provider
The data provider that contains a JPEG-encoded image.
decode
If this value is non-null, the array should contain pairs of (low,high) values for each channel that will be used to interpolate each component in the image. The interpolation is a simple linear interpolation from the source range to the low,high range. An RGB buffer would have 6 elements (two for each channel).
shouldInterpolate
Whether edges will be smoothed out
intent
Determines how to handle colors that are outside of the requested colorspace.

Returns

Remarks

Requirements

Namespace: MonoMac.CoreGraphics
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0