Platforms to show: All Mac Windows Linux Cross-Platform
Back to CIImageMBS class.
CIImageMBS.Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
cgcolorspace: Use this colorspace when opening the image.
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
layer: A CGLayer object. For more information see Quartz 2D Programming Guide and CGLayer Reference.
options: A dictionary specifying image options.
Returns an image object initialized with the contents of the layer object and set up with the specified options.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(data as memoryblock)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Format must be one of this constants: kCIFormatRGBAf, kCIFormatRGBA16 and kCIFormatARGB8.
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
cgcolorspace: Use this colorspace when opening the image.
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Data points directly to the row data.
Length is the size of the memoryblock in bytes.
BytesPerRow is the size of a row in bytes.
Width and height are the dimensions of the image.
Format must be one of this constants: kCIFormatRGBAf, kCIFormatRGBA16 and kCIFormatARGB8.
Colorspace is the CoreGraphics Colorspace object to be used.
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(file as FolderItem)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
cgcolorspace: Use this colorspace when opening the image.
On success, the handle is not zero.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(Handle as Integer)
CIImageMBS.Constructor(Handle as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
ref should be a CIImage* and the object is retained.
Raises UnsupportedOperationException if object is not a CIImage.
See also:
- Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- Constructor(data as memoryblock)
- Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- Constructor(file as FolderItem)
- Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CIImageMBS.CreateCGImage(r as CGRectMBS = nil) as CGImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Render the region 'r' of image 'im' into a temporary buffer using the context, then create and return a new CoreGraphics image with the results.
If r is nil, the whole image extent is used.
See also:
CIImageMBS.CreateCGImage(r as CGRectMBS, ColorSpace as CGColorSpaceMBS) as CGImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Render the region 'r' of image 'im' into a temporary buffer using the context, then create and return a new CoreGraphics image with the results.
If r is nil, the whole image extent is used.
See also:
The items on this page are in the following plugins: MBS MacCI Plugin.