Platforms to show: All Mac Windows Linux Cross-Platform
Back to CIImageMBS class.
CIImageMBS.emptyImage as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.5 and later.
CIImageMBS.imageWithCGImage(CGImage as CGImageMBS, colorspace as CGColorSpaceMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithCGImage(CGImage as CGImageMBS, options as Dictionary = nil) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithCGLayer(CGImage as CGImageMBS, options as Dictionary = nil) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared 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.
An image object initialized with the contents of the layer object and set up with the specified options.
CIImageMBS.imageWithColor(color as CIColorMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the image object initialized with the color represented by the CIColorMBS object.
Available in OS X v10.5 and later.
CIImageMBS.imageWithContentsOfFile(file as folderitem) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithContentsOfFile(file as folderitem, colorspace as CGColorSpaceMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithContentsOfFileMT(file as folderitem) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
If you run several threads calling MT methods, you can get all CPU cores busy while main thread shows GUI with progress window.
See also:
CIImageMBS.imageWithContentsOfFileMT(file as folderitem, colorspace as CGColorSpaceMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
If you run several threads calling MT methods, you can get all CPU cores busy while main thread shows GUI with progress window.
See also:
CIImageMBS.imageWithContentsOfPath(Path as string, colorspace as CGColorSpaceMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
CIImageMBS.imageWithContentsOfURL(url as String) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithContentsOfURL(URL as string, colorspace as CGColorSpaceMBS) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
CIImageMBS.imageWithData(data as memoryblock, Options as Dictionary = nil) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
data: The data object that holds the contents of an image file (such as TIFF, GIF, JPG, or whatever else the system supports). The image data must be premultiplied.
Returns an image object initialized with the supplied data, or nil if the method cannot create an image representation from the contents of the supplied data object.
CIImageMBS.imageWithDataMT(data as memoryblock, Options as Dictionary = nil) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
data: The data object that holds the contents of an image file (such as TIFF, GIF, JPG, or whatever else the system supports). The image data must be premultiplied.
Returns an image object initialized with the supplied data, or nil if the method cannot create an image representation from the contents of the supplied data object.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
If you run several threads calling MT methods, you can get all CPU cores busy while main thread shows GUI with progress window.
CIImageMBS.imageWithPicture(Pic as Picture) as CIImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | CoreImage | MBS MacCI Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
The items on this page are in the following plugins: MBS MacCI Plugin.