InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMungeSamplesImageStreamData::MungeSamplesInfo Struct Reference

#include <IMungeSamplesImageStreamData.h>

Public Attributes

uint32 width
 
uint16 numChannels
 
uint16 extraChannels
 
int16 alphaIndex
 
uint32 colorSpace
 
uint32 alphaType
 

Detailed Description

MungeSamplesInfo structure width number of pixels numChannels number of channels to skip extraChannels number of channels to strip alphaIndex if >= 0 and alphaType is kPMAlphaAssociated, zero-based index of extra channel to use as the alpha. If alphaType is kPMAlphaUnassociated, zero-based index of extra channel to keep. colorSpace kPMGrayColorSpace, kPMRGBColorSpace, kPMCMYKColorSpace, kPMICCLabColorSpace alphaType type of data in the extra channels - either kPMAlphaAssociated or kPMAlphaUnassociated. kPMAlphaAssociated will leave the color channels unchanged. kPMAlphaUnassociated will multiply the color channels by the white alpha