CIContext_ImageRepresentation.GetJpegRepresentation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, CIImageRepresentationOptions) | |
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, NSDictionary) |
将 的处理 |
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, CIImageRepresentationOptions)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options);
static member GetJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions -> Foundation.NSData
参数
- This
- CIContext
- image
- CIImage
- colorSpace
- CGColorSpace
- options
- CIImageRepresentationOptions
返回
- 属性
适用于
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, NSDictionary)
将 的处理 This
应用于 image
,并返回结果的 JPEG 图像。
[Foundation.Export("JPEGRepresentationOfImage:colorSpace:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options);
static member GetJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreGraphics.CGColorSpace * Foundation.NSDictionary -> Foundation.NSData
参数
- This
- CIContext
此扩展方法操作的实例。
- image
- CIImage
要处理的图像输入。
- colorSpace
- CGColorSpace
要使用的颜色空间。
- options
- NSDictionary
处理参数。
返回
- 属性