|
Data Structures |
struct | CS_XYZColor |
| Color values for the XYZ color space. More...
|
struct | PSColorSpaceSuite2 |
| The set of routines available in the Color Space suite. More...
|
struct | PSColorSpaceSuite1 |
| The set of routines available in the Color Space suite. More...
|
Defines |
#define | kPSColorSpaceSuite "Photoshop ColorSpace Suite for Plug-ins" |
| Unique identifier for the Color Space Suite.
|
#define | kPSColorSpaceSuiteVersion2 2 |
| Color Space Suite, Version 2.
|
#define | kPSColorSpaceSuiteVersion kPSColorSpaceSuiteVersion2 |
| Latest version.
|
#define | kPSColorSpaceSuiteVersion1 1 |
| Color Space Suite, Version 1.
|
Typedefs |
typedef Color_T * | ColorID |
| Identifier for the Color Space.
|
typedef uint8 | Color8 [4] |
| Representation of 8-bit color. Representation of 16-bit color.
|
typedef uint16 | Color16 [4] |
| Representation of 32-bit color.
|
typedef real32 | Color32 [4] |
typedef SPAPI SPErr(*) | ColorSpace_Make (ColorID *id) |
| Makes a new color space.
|
typedef SPAPI SPErr(*) | ColorSpace_Delete (ColorID *id) |
| Deletes a color space.
|
typedef SPAPI SPErr(*) | ColorSpace_StuffComponents (ColorID id, int16 colorSpace, uint8 component0, uint8 component1, uint8 component2, uint8 component3) |
| Puts four color components into a Color Space given a type of color space.
|
typedef SPAPI SPErr(*) | ColorSpace_ExtractComponents (ColorID id, int16 colorSpace, uint8 *component0, uint8 *component1, uint8 *component2, uint8 *component3, Boolean *gamutFlag) |
| Extracts four color components from a Color Space given a type of color space.
|
typedef SPAPI SPErr(*) | ColorSpace_StuffXYZ (ColorID id, CS_XYZColor xyz) |
| Puts XYZ color components into a Color Space.
|
typedef SPAPI SPErr(*) | ColorSpace_ExtractXYZ (ColorID id, CS_XYZColor *xyz) |
| Extracts XYZ color components from a Color Space.
|
typedef SPAPI SPErr(*) | ColorSpace_GetNativeSpace (ColorID id, int16 *colorSpace) |
| Gets the native type of color space from a Color Space.
|
typedef SPAPI SPErr(*) | ColorSpace_Convert8 (int16 inputCSpace, int16 outputCSpace, Color8 *colorArray, int16 count) |
| Converts between two color spaces, with 8-bit color.
|
typedef SPAPI SPErr(*) | ColorSpace_Convert16 (int16 inputCSpace, int16 outputCSpace, Color16 *colorArray, int16 count) |
| Converts between two color spaces, with 16-bit color.
|
typedef SPAPI SPErr(*) | ColorSpace_IsBookColor (ColorID id, Boolean *isBookColor) |
| Determines whether the color space associated with ColorID contains a book color.
|
typedef SPAPI SPErr(*) | ColorSpace_ExtractColorName (ColorID id, ASZString *colorName) |
| Extracts the name of the color in a color space.
|
typedef SPAPI SPErr(*) | ColorSpace_PickColor (ColorID *id, ASZString promptString) |
| Picks a color using the Color Picker.
|
typedef SPAPI SPErr(*) | ColorSpace_Convert8to16 (uint8 *input_data, uint16 *output_data, int16 count) |
| Converts 8- to 16-bit color.
|
typedef SPAPI SPErr(*) | ColorSpace_Convert16to8 (uint16 *input_data, uint8 *output_data, int16 count) |
| Converts 16- to 18-bit color.
|
typedef SPAPI SPErr(*) | ColorSpace_ConvertToMonitorRGB (int16 inputCSpace, Color8 *input_data, Color8 *output_data, int16 count) |
| Converts color from inputCSpace to main monitor RGB (does not handle multiple displays!) The data can be single or multiple channels, as long as the count includes all of it.
|
typedef SPAPI SPErr(*) | ColorSpace_Convert32to8 (real32 *input_data, uint8 *output_data, int16 count) |
| Converts 32- to 8-bit color.
|
typedef SPAPI SPErr(*) | ColorSpace_ConvertForDisplay (PSPixelMap *source_data, Color8 *output_data, int32 output_rowBytes, const VRect *display_area) |
| Converts color to monitor RGB for a given display area (whichever display covers most of it).
|
typedef SPAPI SPErr(*) | ColorSpace_GetDisplayProfile (const VRect *display_area, Handle *profile_data) |
| Get the ICC profile for a given display area (whichever display covers most of it).
|