MonobjcMonobjc Documented Class Library
Create Method (width, height, bitsPerComponent, bitsPerPixel, bytesPerRow, colorspace, bitmapInfo, provider, decode, shouldInterpolate, intent)
NamespacesMonobjc.ApplicationServicesCGImageCreate(NSUInteger, NSUInteger, NSUInteger, NSUInteger, NSUInteger, IntPtr, CGBitmapInfo, IntPtr, IntPtr, Boolean, CGColorRenderingIntent)

Creates a bitmap image from data supplied by a data provider.

Original signature is 'CGImageRef CGImageCreate ( size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat decode[], bool shouldInterpolate, CGColorRenderingIntent intent );'

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr Create(
	NSUInteger width,
	NSUInteger height,
	NSUInteger bitsPerComponent,
	NSUInteger bitsPerPixel,
	NSUInteger bytesPerRow,
	IntPtr colorspace,
	CGBitmapInfo bitmapInfo,
	IntPtr provider,
	IntPtr decode,
	bool shouldInterpolate,
	CGColorRenderingIntent intent
)
Public Shared Function Create ( _
	width As NSUInteger, _
	height As NSUInteger, _
	bitsPerComponent As NSUInteger, _
	bitsPerPixel As NSUInteger, _
	bytesPerRow As NSUInteger, _
	colorspace As IntPtr, _
	bitmapInfo As CGBitmapInfo, _
	provider As IntPtr, _
	decode As IntPtr, _
	shouldInterpolate As Boolean, _
	intent As CGColorRenderingIntent _
) As IntPtr
public:
static IntPtr Create(
	NSUInteger width, 
	NSUInteger height, 
	NSUInteger bitsPerComponent, 
	NSUInteger bitsPerPixel, 
	NSUInteger bytesPerRow, 
	IntPtr colorspace, 
	CGBitmapInfo bitmapInfo, 
	IntPtr provider, 
	IntPtr decode, 
	bool shouldInterpolate, 
	CGColorRenderingIntent intent
)
Parameters
width (NSUInteger)
MISSING
height (NSUInteger)
MISSING
bitsPerComponent (NSUInteger)
MISSING
bitsPerPixel (NSUInteger)
MISSING
bytesPerRow (NSUInteger)
MISSING
colorspace (IntPtr)
MISSING
bitmapInfo (CGBitmapInfo)
MISSING
provider (IntPtr)
MISSING
decode (IntPtr)
MISSING
shouldInterpolate (Boolean)
MISSING
intent (CGColorRenderingIntent)
MISSING
Return Value
A new Quartz bitmap image. You are responsible for releasing this object by calling CGImageRelease.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)