MonobjcMonobjc Documented Class Library
ImageWithBitmapDataBytesPerRowSizeFormatColorSpace Method (d, bpr, size, f, cs)
NamespacesMonobjc.QuartzCoreCIImageImageWithBitmapDataBytesPerRowSizeFormatColorSpace(NSData, IntPtr, CGSize, Int32, IntPtr)

Creates and returns an image object from bitmap data.

Original signature is '+ (CIImage *)imageWithBitmapData:(NSData *)d bytesPerRow:(size_t)bpr size:(CGSize)size format:(CIFormat)f colorSpace:(CGColorSpaceRef)cs'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIImage ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(
	NSData d,
	IntPtr bpr,
	CGSize size,
	int f,
	IntPtr cs
)
Public Shared Function ImageWithBitmapDataBytesPerRowSizeFormatColorSpace ( _
	d As NSData, _
	bpr As IntPtr, _
	size As CGSize, _
	f As Integer, _
	cs As IntPtr _
) As CIImage
public:
static CIImage^ ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(
	NSData^ d, 
	IntPtr bpr, 
	CGSize size, 
	int f, 
	IntPtr cs
)
Parameters
d (NSData)
The bitmap data for the image. This data must be premultiplied.
bpr (IntPtr)
The number of bytes per row.
size (CGSize)
The dimensions of the image.
f (Int32)
The format and size of each pixel. You must supply a pixel format constant. See “Pixel Formats”.
cs (IntPtr)
The color space that the image is defined in. If this value is nil, the image is not color matched. Pass nil for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).
Return Value
An image object.
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)