Platforms to show: All Mac Windows Linux Cross-Platform
ColorSyncWorldMBS class
Type | Topic | Version |
class | ColorSync |
Notes:
A ColorSyncWorldMBS is an object which holds two profiles to match pictures between.
Possible error codes from Colorsync:
noErr | 0 | No error |
cmProfileError | -170 | There is something wrong with the content of the profile |
cmMethodError | -171 | An error occurred during the CMM arbitration process that determines the CMM to use |
cmMethodNotFound | -175 | CMM not present |
cmProfileNotFound | -176 | Responder error |
cmProfilesIdentical | -177 | Profiles are the same |
cmCantConcatenateError | -178 | Profiles can't be concatenated |
cmCantXYZ | -179 | CMM does not handle XYZ color space |
cmCantDeleteProfile | -180 | Responder error |
cmUnsupportedDataType | -181 | Responder error |
cmNoCurrentProfile | -182 | Responder error |
cmElementTagNotFound | -4200 | The tag you specified is not in the specified profile |
cmIndexRangeErr | -4201 | Tag index out of range |
cmFatalProfileErr | -4203 | Returned from File Manager while updating a profile file in response to CMUpdateProfile; profile content may be corrupted. |
cmInvalidProfileLocation | -4205 | Operation not supported for this profile location |
cmInvalidSearch | -4206 | Bad search handle |
cmSearchError | -4207 | Internal error occurred during profile search |
cmInvalidColorSpace | -4209 | Profile color space does not match bitmap type |
cmInvalidSrcMap | -4210 | Source pixel map or bitmap was invalid |
cmInvalidDstMap | -4211 | Destination pix/bit map was invalid |
cmNoGDevicesError | -4212 | Begin matching or end matching--no graphics devices available |
cmInvalidProfileComment | -4213 | Bad profile comment during drawpicture |
cmRangeoverFlow | -4214 | One or more output color value overflows in color conversion; all input color values will be converted and the overflow will be clipped |
cmCantCopyModifiedV1Profile | -4215 | It is illegal to copy version 1.0 profiles that have been modified |
cmNamedColorNotFound | -4216 | The specified named color was not found in the specified profile |
cmCantGamutCheckError | -4217 | Gamut checking not supported by this color world--that is, the color world does not contain a gamut table because it was built with gamut checking turned off |
- 2 properties
- 7 methods
- method Constructor(CMM as Integer, flags as Integer, flagsMask as Integer, profiles() as ColorSyncProfileSetItemMBS)
- method Constructor(profiles() as ColorSyncProfileMBS)
- method Constructor(source as ColorSyncProfileMBS, destination as ColorSyncProfileMBS)
- method GetCMMSignature as UInt32
- method MatchBitmap(source as ColorSyncBitmapMBS, dest as ColorSyncBitmapMBS)
- method MatchBitmap(sourcedest as ColorSyncBitmapMBS)
- method MatchPicture(p as picture)
- 17 constants
- const cmBestMode = &h00020000
- const cmBlackPointCompensation = 4
- const cmBlackPointCompensationMask = 4
- const cmCMSReservedFlagsMask = &hFFFF0000
- const cmDraftMode = &h00010000
- const cmEmbeddedMask = 1
- const cmEmbeddedProfile = 0
- const cmEmbeddedUse = 2
- const cmEmbeddedUseMask = 2
- const cmGamutCheckingMask = &h00080000
- const cmICCReservedFlagsMask = &h0000FFFF
- const cmInterpolationMask = &h00040000
- const cmNormalMode = &h00000000
- const cmQualityMask = &h00030000
- const kAdobeCMMSignature = &h41444245
- const kAppleCMMSignature = &h6170706C
- const kDefaultCMMSignature = &h6170706C
This class has no sub classes.
Some examples which use this class:
- /Images/LCMS2/CMYK/CMYK Example
- /MacClassic/Colorsync/Colorsync image test
- /MacClassic/Colorsync/ColorSyncWorldMBS new setup
Blog Entries
Links
MBS Xojo Plugins