![]() | InDesign SDK 20.5 |
#include <IImageItem.h>

Public Types | |
| enum | { kDefaultIID = IID_IIMAGEITEM } |
Public Member Functions | |
| virtual bool32 | HasProfile (void) const =0 |
| virtual uchar * | GetProfileData (const UIDRef &imageItem, uint32 *dataSize) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The IImageItem interface is a simple interface that lives on every raster image based page item. Most often, the presense of this interface is used as a test as to whether or not a given page item is a raster image. Also, this interface can be used to obtain color profile data from an image containing an embedded profile.
| anonymous enum |
default IID for this interface
| pure virtual |
Retrieve the embedded color profile information from a full resolution image.
| imageItem | - IN: This paramater is not used because this interface lives on the boss of the image and hence we already know the UIDRef. That is, the UIDRef of the image is equal to ::GetUIDRef(this). |
| dataSize | - OUT: On return, the size of the profile data. |
| pure virtual |
Determine whether or not this image has an embedded profile.