Platforms to show: All Mac Windows Linux Cross-Platform
Back to CSTransformMBS class.
CSTransformMBS.Constructor(profileSequence() as dictionary, options as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
profileSequence: Array of dictionaries, each one containing a profile object and the information on the usage of the profile in the transform.
Required keys:
kColorSyncProfile: CSProfileMBS
kColorSyncRenderingIntent: String defining rendering intent
kColorSyncTransformTag: String defining which tags to use
Optional key:
kColorSyncBlackPointCompensation: Boolean to enable/disable BPC
options: dictionary with additional public global options (e.g. preferred CMM, quality, etc... It can also contain custom options that are CMM specific.
On success the handle property is not zero.
CSTransformMBS.Convert(dest as picture, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
dest: Destination picture.
source: Source picture.
src: A memroyblock to the data to be converted.
srcDepth: Describes the bit depth and type of the source color components
srcFormat: Describes the format and byte packing of the source pixels
srcBytesPerRow: Number of bytes in the row of data
returns true if conversion was successful or false otherwise
See also:
- Convert(dest as picture, src as picture, options as dictionary) as boolean
- Convert(dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as picture, options as dictionary) as boolean
- Convert(width as Integer, height as Integer, dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
CSTransformMBS.Convert(dest as picture, src as picture, options as dictionary) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
dest: Destination picture.
source: Source picture.
Should only be used with RGB for source/dest profile.
returns true if conversion was successful or false otherwise
See also:
- Convert(dest as picture, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
- Convert(dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as picture, options as dictionary) as boolean
- Convert(width as Integer, height as Integer, dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
CSTransformMBS.Convert(dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as picture, options as dictionary) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
dest: Destination picture.
dst: A memroyblock to the destination where the results will be written.
dstDepth: Describes the bit depth and type of the destination color components
dstFormat: Describes the format and byte packing of the destination pixels
dstBytesPerRow: number of bytes in the row of data
source: Source picture.
returns true if conversion was successful or false otherwise
See also:
- Convert(dest as picture, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
- Convert(dest as picture, src as picture, options as dictionary) as boolean
- Convert(width as Integer, height as Integer, dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
CSTransformMBS.Convert(width as Integer, height as Integer, dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
width: Width of the image in pixels. (or taken from picture object)
height: Height of the image in pixels. (or taken from picture object)
dst: A memroyblock to the destination where the results will be written.
dstDepth: Describes the bit depth and type of the destination color components
dstFormat: Describes the format and byte packing of the destination pixels
dstBytesPerRow: number of bytes in the row of data
src: A memroyblock to the data to be converted.
srcDepth: Describes the bit depth and type of the source color components
srcFormat: Describes the format and byte packing of the source pixels
srcBytesPerRow: Number of bytes in the row of data
returns true if conversion was successful or false otherwise
See also:
- Convert(dest as picture, src as memoryblock, srcDepth as Integer, srcLayout as Integer, srcBytesPerRow as Integer, options as dictionary) as boolean
- Convert(dest as picture, src as picture, options as dictionary) as boolean
- Convert(dst as memoryblock, dstDepth as Integer, dstLayout as Integer, dstBytesPerRow as Integer, src as picture, options as dictionary) as boolean
CSTransformMBS.GetProperty(key as Variant) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns nil if the value is nil or we had an error.
CSTransformMBS.SetProperty(key as Variant, value as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ColorSync | MBS MacCF Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The items on this page are in the following plugins: MBS MacCF Plugin.