InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColorConverterImageStmData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jargast
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Purpose:
24 // Data interface for the IColorConverterImageStream segment of the IImageStreamManager.
25 // This segment is used to convert image data from one color space to another using either
26 // uncalibrated methods or client supplied profile information.
27 //
28 //========================================================================================
29 
30 #ifndef __IColorConverterImageStreamData__
31 #define __IColorConverterImageStreamData__
32 
33 #include "IPMUnknown.h"
34 #include "BravoForwardDecl.h"
35 
36 class ICMSProfile;
37 
47 {
48 public:
61  typedef struct
62  {
63  uint32 width;
64  uint32 numExtraChannels;
65  uint32 srcColorSpace; // Can compute color channels from space
66  uint32 dstColorSpace; // Can compute color channels from space
67  ICMSProfile *srcProfile;
68  ICMSProfile *dstProfile;
69  AGMColorSpace *srcAGMColorSpace;
70  AGMColorSpace *dstAGMColorSpace;
72 
73  /* Set method
74  @param colorConverterInfo - IN: Specifies information about the source image and the desired
75  target image.
76  */
77  virtual void SetColorConverterInfo (const ColorConverterInfo& colorConverterInfo) = 0;
78 
79  /* Get method
80  @param colorConverterInfo - Out: Obtains information about the source image and the desired
81  target image.
82  */
83  virtual void GetColorConverterInfo (ColorConverterInfo* colorConverterInfo) const = 0;
84 };
85 
86 #endif