CGImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents bitmap images and bitmap masks.
public class CGImage : CoreFoundation.NativeObject
type CGImage = class
inherit NativeObject
- Inheritance
Constructors
Properties
| Name | Description |
|---|---|
| AlphaInfo |
The bitmap configuration. |
| BitmapInfo |
The bitmap configuration. |
| BitsPerComponent |
Bits per component |
| BitsPerPixel |
The number of bits per pixel. |
| ByteOrderInfo | |
| BytesPerRow |
The number of bytes per row in the image. |
| CalculatedContentAverageLightLevel |
Get the calculated content average light level. |
| CalculatedContentHeadroom |
Get the calculated the content headroom. |
| ColorSpace |
The image colorspace. |
| ContainsImageSpecificToneMappingMetadata |
Get whether this image has image-specific tone mapping metadata. |
| ContentAverageLightLevel |
Get the content average light level. |
| ContentHeadroom |
Get the content headroom for this image. |
| DataProvider |
Returns the image's data provider. |
| Decode |
Returns an array of values that consist of upper and lower limits, into which the corresponding image pixel data are linearly interpolated for decoding. |
| DefaultHdrImageContentHeadroom |
Get the default content headroom for HDR images. |
| Handle | (Inherited from DisposableObject) |
| Height |
The image height in pixels. |
| IsMask |
Whether this image is a mask or a bitmap. |
| Owns | (Inherited from DisposableObject) |
| PixelFormatInfo | |
| RenderingIntent |
The rendering intent. |
| ScreenImage |
Takes a screenshot. |
| ShouldInterpolate |
Whether interpolation is enabled for this image. |
| ShouldToneMap |
Get whether this image should be tone mapped when rendered. |
| UTType |
Gets the image's universal type identifier. |
| Width |
The image width in pixels. |
Methods
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |