One Logo Pool Ball
Accelerate · IOS API REFERENCE

vImage_CGImageFormat

struct · SDK 27.1

struct vImage_CGImageFormat

Members (19)

get

bitmapInfo

TypeScript
get bitmapInfo(): _CoreGraphics_CGBitmapInfo
Swift declaration
var bitmapInfo: CGBitmapInfo
set

bitmapInfo

TypeScript
set bitmapInfo(value: _CoreGraphics_CGBitmapInfo)
Swift declaration
var bitmapInfo: CGBitmapInfo
get

bitsPerComponent

TypeScript
get bitsPerComponent(): number
Swift declaration
var bitsPerComponent: UInt32
set

bitsPerComponent

TypeScript
set bitsPerComponent(value: number)
Swift declaration
var bitsPerComponent: UInt32
get

bitsPerPixel

TypeScript
get bitsPerPixel(): number
Swift declaration
var bitsPerPixel: UInt32
set

bitsPerPixel

TypeScript
set bitsPerPixel(value: number)
Swift declaration
var bitsPerPixel: UInt32
get

colorSpace

TypeScript
get colorSpace(): (SDKHandle) | null
Swift declaration
var colorSpace: Unmanaged<CGColorSpace>!
set

colorSpace

TypeScript
set colorSpace(value: (SDKHandle) | null)
Swift declaration
var colorSpace: Unmanaged<CGColorSpace>!
get

decode

TypeScript
get decode(): ("animatableData" | SDKHandle) | null
Swift declaration
var decode: UnsafePointer<CGFloat>!
set

decode

TypeScript
set decode(value: ("animatableData" | SDKHandle) | null)
Swift declaration
var decode: UnsafePointer<CGFloat>!
get

renderingIntent

TypeScript
get renderingIntent(): _CoreGraphics_CGColorRenderingIntent
Swift declaration
var renderingIntent: CGColorRenderingIntent
set

renderingIntent

TypeScript
set renderingIntent(value: _CoreGraphics_CGColorRenderingIntent)
Swift declaration
var renderingIntent: CGColorRenderingIntent
get

version

TypeScript
get version(): number
Swift declaration
var version: UInt32
set

version

TypeScript
set version(value: number)
Swift declaration
var version: UInt32
init · iOS 13.0+

init

TypeScript
static initCgImage(cgImage: _CoreGraphics_CGImage): (vImage_CGImageFormat) | null
Swift declaration
init?(cgImage: CGImage)

Initializes an image format from a Core Graphics image. - Parameter cgImage: The image from which to derive the image format. - Returns: An initialized `vImage_CGImageFormat`.

get · iOS 13.0+

componentCount

TypeScript
get componentCount(): number
Swift declaration
var componentCount: Int { get }

The number of color channels.

init · iOS 13.0+

init

TypeScript
static initBitsPerComponentBitsPerPixelColorSpaceBitmapInfoRenderingIntent(bitsPerComponent: number, bitsPerPixel: number, colorSpace: _CoreGraphics_CGColorSpace, bitmapInfo: _CoreGraphics_CGBitmapInfo, renderingIntent?: _CoreGraphics_CGColorRenderingIntent): (vImage_CGImageFormat) | null
Swift declaration
init?(bitsPerComponent: Int, bitsPerPixel: Int, colorSpace: CGColorSpace, bitmapInfo: CGBitmapInfo, renderingIntent: CGColorRenderingIntent = .defaultIntent)

Initializes an image format. - Parameter bitsPerComponent: The number of bits needed to represent one channel of data in one pixel. - Parameter bitsPerPixel: The number of bits needed to represent one pixel. - Parameter colorSpace: The color space for the format. - Parameter bitmapInfo: The component information describing the color channels. - Parameter renderingIntent: A rendering intent constant that specifies how Core Graphics should handle colors that are not located within the gamut of the destination color space of a graphics context. - Returns: An initialized `vImage_CGImageFormat`.

init

init

TypeScript
static initBitsPerComponentBitsPerPixelColorSpaceBitmapInfoVersionDecodeRenderingIntent(bitsPerComponent: number, bitsPerPixel: number, colorSpace: (SDKHandle) | null, bitmapInfo: _CoreGraphics_CGBitmapInfo, version: number, decode: ("animatableData" | SDKHandle) | null, renderingIntent: _CoreGraphics_CGColorRenderingIntent): vImage_CGImageFormat
Swift declaration
init(bitsPerComponent: UInt32, bitsPerPixel: UInt32, colorSpace: Unmanaged<CGColorSpace>!, bitmapInfo: CGBitmapInfo, version: UInt32, decode: UnsafePointer<CGFloat>!, renderingIntent: CGColorRenderingIntent)
init

init

TypeScript
static init(): vImage_CGImageFormat
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →