Mac OS 9
CMScriptingPlugin.h File Reference

ColorSync Scripting Plugin API. More...

#include <Files.h>
#include <CMApplication.h>

Go to the source code of this file.

Typedefs

typedef OSType * space
 
typedef const FSSpec * specInto
 
typedef const FSSpec CMProfileRef embedProf
 
typedef const FSSpec CMProfileRef UInt32 embedFlags
 
typedef const FSSpec UInt32 qual
 
typedef const FSSpec UInt32 UInt32 srcIntent
 
typedef const FSSpec UInt32 UInt32 CMProfileRef srcProf
 
typedef const FSSpec UInt32 UInt32 CMProfileRef CMProfileRef dstProf
 
typedef const FSSpec UInt32 UInt32 CMProfileRef CMProfileRef CMProfileRef prfProf
 
typedef const FSSpec UInt32 UInt32 CMProfileRef CMProfileRef CMProfileRef UInt32 matchFlags
 
typedef UInt32 * count
 
typedef UInt32 index
 
typedef UInt32 CMProfileRef * prof
 

Enumerations

enum  {
  cmspInvalidImageFile = -4220 , cmspInvalidImageSpace , cmspInvalidProfileEmbed = -4222 , cmspInvalidProfileSource = -4223 ,
  cmspInvalidProfileDest = -4224 , cmspInvalidProfileProof = -4225 , cmspInvalidProfileLink = -4226
}
 
enum  { cmspFavorEmbeddedMask }
 

Functions

typedef CALLBACK_API_C (CMError, ValidateImageProcPtr)(const FSSpec *spec)
 
typedef CALLBACK_API_C (CMError, GetImageSpaceProcPtr)(const FSSpec *spec
 
typedef CALLBACK_API_C (CMError, ValidateSpaceProcPtr)(const FSSpec *spec
 
typedef CALLBACK_API_C (CMError, EmbedImageProcPtr)(const FSSpec *specFrom
 
typedef CALLBACK_API_C (CMError, UnembedImageProcPtr)(const FSSpec *specFrom
 
typedef CALLBACK_API_C (CMError, MatchImageProcPtr)(const FSSpec *specFrom
 
typedef CALLBACK_API_C (CMError, CountImageProfilesProcPtr)(const FSSpec *spec
 
typedef CALLBACK_API_C (CMError, GetIndImageProfileProcPtr)(const FSSpec *spec
 
typedef CALLBACK_API_C (CMError, SetIndImageProfileProcPtr)(const FSSpec *specFrom
 
CMError CMValidImage (const FSSpec *spec)
 
CMError CMGetImageSpace (const FSSpec *spec, OSType *space)
 
CMError CMEmbedImage (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, CMProfileRef embProf)
 
CMError CMUnembedImage (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl)
 
CMError CMMatchImage (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent, CMProfileRef dstProf)
 
CMError CMProofImage (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent, CMProfileRef dstProf, CMProfileRef prfProf)
 
CMError CMLinkImage (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef lnkProf, UInt32 lnkIntent)
 
CMError CMCountImageProfiles (const FSSpec *spec, UInt32 *count)
 
CMError CMGetIndImageProfile (const FSSpec *spec, UInt32 index, CMProfileRef *prof)
 
CMError CMSetIndImageProfile (const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 index, CMProfileRef prof)
 

Detailed Description

ColorSync Scripting Plugin API.

Introduced In: ColorSync 2.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1998-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CMCountImageProfiles()

CMError CMCountImageProfiles ( const FSSpec *  spec,
UInt32 *  count 
)

CMCountImageProfiles()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMEmbedImage()

CMError CMEmbedImage ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl,
CMProfileRef  embProf 
)

CMEmbedImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMGetImageSpace()

CMError CMGetImageSpace ( const FSSpec *  spec,
OSType *  space 
)

CMGetImageSpace()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMGetIndImageProfile()

CMError CMGetIndImageProfile ( const FSSpec *  spec,
UInt32  index,
CMProfileRef *  prof 
)

CMGetIndImageProfile()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMLinkImage()

CMError CMLinkImage ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl,
UInt32  qual,
CMProfileRef  lnkProf,
UInt32  lnkIntent 
)

CMLinkImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMMatchImage()

CMError CMMatchImage ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl,
UInt32  qual,
CMProfileRef  srcProf,
UInt32  srcIntent,
CMProfileRef  dstProf 
)

CMMatchImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMProofImage()

CMError CMProofImage ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl,
UInt32  qual,
CMProfileRef  srcProf,
UInt32  srcIntent,
CMProfileRef  dstProf,
CMProfileRef  prfProf 
)

CMProofImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMSetIndImageProfile()

CMError CMSetIndImageProfile ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl,
UInt32  index,
CMProfileRef  prof 
)

CMSetIndImageProfile()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMUnembedImage()

CMError CMUnembedImage ( const FSSpec *  specFrom,
const FSSpec *  specInto,
Boolean  repl 
)

CMUnembedImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ CMValidImage()

CMError CMValidImage ( const FSSpec *  spec)

CMValidImage()

Non-Carbon CFM: in CSScriptingLib 2.6 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later