AlphaChannel = 0x0008,
OpacityChannel = 0x0008,
BlackChannel = 0x0010,
- IndexChannel = 0x0020,
+ IndexChannel = 0x0010,
CompositeChannels = 0x002F,
AllChannels = ~0L,
/*
RGBChannels = 0x0080, /* set alpha from grayscale mask in RGB */
GrayChannels = 0x0080,
SyncChannels = 0x0100, /* channels should be modified equally */
- DefaultChannels = ((AllChannels | SyncChannels) &~ AlphaChannel &~ IndexChannel)
+ DefaultChannels = ((AllChannels | SyncChannels) &~ (AlphaChannel || IndexChannel))
} ChannelType;
typedef enum
image->number_channels+=image->number_meta_channels;
for ( ; i < (ssize_t) image->number_channels; i++)
SetPixelChannelMapTraits(image,(PixelChannel) i,CopyPixelTrait);
-// SetPixelChannelMap(image,image->channel_mask);
+ SetPixelChannelMap(image,image->channel_mask);
}
\f
/*