Platforms to show: All Mac Windows Linux Cross-Platform
CIImageMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreImage | MBS MacCI Plugin | 7.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 9 properties
- property colorSpace as CGColorSpaceMBS
- property Definition as CIFilterShapeMBS
- property description as String
- property Extent as CGRectMBS
- property Handle as Integer
- property Height as Double
- property RetainCount as Integer
- property url as string
- property Width as Double
- 30 methods
- method AsNSImageMBS as Variant
- method autoAdjustmentFilters as CIFilterMBS()
- method autoAdjustmentFiltersWithOptions(options as dictionary) as CIFilterMBS()
- method Constructor(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS)
- method Constructor(cgimage as CGImageMBS, options as Dictionary = nil)
- method Constructor(CGLayer as CGLayerMBS, options as Dictionary = nil)
- method Constructor(data as memoryblock)
- method Constructor(data as memoryblock, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- method Constructor(data as memoryblock, cgcolorspace as CGColorSpaceMBS)
- method Constructor(data as Memoryblock, Length as Integer, BytesPerRow as Integer, width as Integer, height as Integer, format as Integer, cgcolorspace as CGColorSpaceMBS)
- method Constructor(file as FolderItem)
- method Constructor(file as FolderItem, cgcolorspace as CGColorSpaceMBS)
- method Constructor(Handle as Integer)
- method copy as CIImageMBS
- method CreateCGImage(r as CGRectMBS = nil) as CGImageMBS
- method CreateCGImage(r as CGRectMBS, ColorSpace as CGColorSpaceMBS) as CGImageMBS
- method imageByApplyingOrientation(orientation as Integer) as CIImageMBS
- method ImageByApplyingTransform(transform as NSAffineTransformMBS) as CIImageMBS
- method imageByClampingToExtent as CIImageMBS
- method imageByCompositingOverImage(dest as CIImageMBS) as CIImageMBS
- method imageByCroppingToRect(r as CGRectMBS) as CIImageMBS
- method normalizeCIImageOrientation(startDeviceOrientation as Integer, isFrontCamera as Boolean = false) as CIImageMBS
- method properties as Dictionary
- method releaseHandle
- method RenderNSImage(UseSoftwareRenderer as boolean = false) as Variant
- method RenderPicture(Width as Integer = 0, Height as Integer = 0, UseSoftwareRenderer as boolean = false) as Picture
- method RenderPictureWithAlpha(Width as Integer = 0, Height as Integer = 0, UseSoftwareRenderer as boolean = false) as Picture
- method RenderPictureWithAlphaMT(Width as Integer = 0, Height as Integer = 0, UseSoftwareRenderer as boolean = false) as Picture
- method retainHandle
- method scaleTo(width as Integer, height as Integer) as CIImageMBS
- 22 shared methods
- shared method emptyImage as CIImageMBS
- shared method imageWithCGImage(CGImage as CGImageMBS, colorspace as CGColorSpaceMBS) as CIImageMBS
- shared method imageWithCGImage(CGImage as CGImageMBS, options as Dictionary = nil) as CIImageMBS
- shared method imageWithCGLayer(CGImage as CGImageMBS, options as Dictionary = nil) as CIImageMBS
- shared method imageWithColor(color as CIColorMBS) as CIImageMBS
- shared method imageWithContentsOfFile(file as folderitem) as CIImageMBS
- shared method imageWithContentsOfFile(file as folderitem, colorspace as CGColorSpaceMBS) as CIImageMBS
- shared method imageWithContentsOfFileMT(file as folderitem) as CIImageMBS
- shared method imageWithContentsOfFileMT(file as folderitem, colorspace as CGColorSpaceMBS) as CIImageMBS
- shared method imageWithContentsOfPath(Path as string, colorspace as CGColorSpaceMBS) as CIImageMBS
- shared method imageWithContentsOfURL(url as String) as CIImageMBS
- shared method imageWithContentsOfURL(URL as string, colorspace as CGColorSpaceMBS) as CIImageMBS
- shared method imageWithData(data as memoryblock, Options as Dictionary = nil) as CIImageMBS
- shared method imageWithDataMT(data as memoryblock, Options as Dictionary = nil) as CIImageMBS
- shared method imageWithPicture(Pic as Picture) as CIImageMBS
- shared method kCIImageAutoAdjustCrop as string
- shared method kCIImageAutoAdjustEnhance as string
- shared method kCIImageAutoAdjustFeatures as string
- shared method kCIImageAutoAdjustLevel as string
- shared method kCIImageAutoAdjustRedEye as string
- shared method kCIImageTextureFormat as string
- shared method kCIImageTextureTarget as string
- 3 constants
Constants
Constant | Value | Description |
---|---|---|
kCIFormatARGB8 | 23 | One of the pixel formats: 32bpp, fixed point. |
kCIFormatRGBA16 | 27 | One of the pixel formats: 64bpp, fixed point. |
kCIFormatRGBAf | 34 | One of the pixel formats: 128bpp, floating point. |
This class has no sub classes.
Blog Entries
- Picking picture on macOS
- News from the MBS Xojo Plugins Version 21.2
- AVCaptureVideoDataOutput improvements
- Problems with killing Xojo threads with plugin calls.
- Tip of day: Gradients with CoreImage Filter
- MBS Xojo / Real Studio Plugins, version 15.0fc1
- MonkeyBread Software Releases the MBS Real Studio plug-ins in version 13.1
- Multithreaded plugin functions can increase speed of Real Studio application
- MBS Real Studio Plugins, version 13.0fc1
- Tip of the day: Rotate image with CoreImage
Xojo Developer Magazine
Release notes
- Version 24.3
- Added AsNSImageMBS function to CGImageMBS class.
- Added normalizeCIImageOrientation for CIImageMBS class.
- Improved AsNSImageMBS function in CIImageMBS class to work on iOS, too.
- Version 22.5
- Fixed problem with CIImageMBS not return a CGImageMBS object.
- Version 21.2
- Added scaleTo method for CIImageMBS class.
Some useful global functions for this class:
- NewCIImagewithBitmapDataMBS(data as memoryblock, BytesPerRow as Integer, Width as Integer, Height as Integer, Format as Integer, colorspace as CGColorSpaceMBS) as CIImageMBS
- NewCIImagewithBitmapMemoryMBS(data as memoryblock, DataLength as Integer, BytesPerRow as Integer, Width as Integer, Height as Integer, Format as Integer, colorspace as CGColorSpaceMBS) as CIImageMBS
- NewCIImagewithCGImageMBS(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
- NewCIImagewithDataMBS(Data as memoryblock, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
- NewCIImagewithDataMBS(Data as Memoryblock, Options as Dictionary = nil) as CIImageMBS
- NewCIImagewithFileMBS(file as folderitem, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
- NewCIImagewithURLMBS(url as String) as CIImageMBS
- NewCIImagewithURLMBS(url as String, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
- NewCISamplerMBS(ciImage as CIImageMBS) as CISamplerMBS
- NewCISamplerMBS(ciImage as CIImageMBS, matrix as NSAffineTransformMBS, WrapMode as String, FilterMode as string) as CISamplerMBS
Some methods using this class:
- CIContextMBS.CreateCGImage(image as CIImageMBS, r as CGRectMBS = nil) as CGImageMBS
- CIContextMBS.CreateCGImage(image as CIImageMBS, r as CGRectMBS, ColorSpace as CGColorSpaceMBS) as CGImageMBS
- CIContextMBS.DrawImageRect(ciImage as CIImageMBS, DestRect as CGRectMBS, SourceRect as CGRectMBS = nil)
- CIContextMBS.HEIFRepresentationOfImage(Image as CIImageMBS, format as Integer = 24, colorSpace as CGColorSpaceMBS = nil, options as dictionary = nil) as MemoryBlock
- CIContextMBS.writeJPEGRepresentationOfImage(Image as CIImageMBS, file as FolderItem, colorSpace as CGColorSpaceMBS = nil, options as dictionary = nil, byref error as NSErrorMBS) as Boolean
- CIContextMBS.writePNGRepresentationOfImage(Image as CIImageMBS, file as FolderItem, format as Integer = 24, colorSpace as CGColorSpaceMBS = nil, options as dictionary = nil, byref error as NSErrorMBS) as Boolean
- CISamplerMBS.Constructor(ciImage as CIImageMBS)
- CISamplerMBS.Constructor(ciImage as CIImageMBS, matrix as NSAffineTransformMBS, WrapMode as String, FilterMode as string)
- CISamplerMBS.samplerWithImage(ciImage as CIImageMBS) as CISamplerMBS
- CISamplerMBS.samplerWithImage(ciImage as CIImageMBS, Options as Dictionary) as CISamplerMBS
Some properties using for this class:
- CIFilterBlendWithAlphaMaskMBS.inputMaskImage as CIImageMBS
- CIFilterDepthBlurEffectMBS.inputImage as CIImageMBS
- CIFilterDisintegrateWithMaskTransitionMBS.inputTargetImage as CIImageMBS
- CIFilterDisparityToDepthMBS.inputImage as CIImageMBS
- CIFilterEightfoldReflectedTileMBS.inputImage as CIImageMBS
- CIFilterFalseColorMBS.inputImage as CIImageMBS
- CIFilterGaussianBlurMBS.inputImage as CIImageMBS
- CIFilterHexagonalPixellateMBS.inputImage as CIImageMBS
- CIFilterPageCurlTransitionMBS.inputTargetImage as CIImageMBS
- CIFilterPerspectiveCorrectionMBS.inputImage as CIImageMBS
Some examples using this class:
- /AVFoundation/CVPixelBuffer test
- /AVFoundation/Extract video frames
- /Images/JPEG/Quickly generate previews for JPEG and Tiff
- /iOS/Photo Picker/Photo Picker iOS
- /MacCG/CoreImage/Barcode Generator
- /MacCG/CoreImage/Quickly generate previews for JPEG and Tiff
- /MacCG/CoreImage/Simple Filter
- /MacCG/CoreImage/Simple Filter with Picture
- /MacCG/Gauss Blur Filter
- /MacFrameworks/Vision Object Detection/Saliency Image Requests
Some related classes:
- class CGLayerMBS
- class CGRectMBS
- class CIColorMBS
- class CIContextMBS
- class CIFilterDisintegrateWithMaskTransitionMBS
- class CIFilterGaussianBlurMBS
- class CIFilterLanczosScaleTransformMBS
- class CIFilterShapeMBS
- class NSErrorMBS
- class NSImageMBS
The items on this page are in the following plugins: MBS MacCI Plugin.
CIFilterZoomBlurMBS - CIPDF417CodeDescriptorMBS
