SetPixelChannelTraits(image,channel,CopyPixelTrait);
continue;
}
+ SetPixelChannelTraits(image,channel,UpdatePixelTrait);
+ continue;
+ }
+ if (image->alpha_trait != UndefinedPixelTrait)
+ {
+ SetPixelChannelTraits(image,channel,(const PixelTrait)
+ (UpdatePixelTrait | BlendPixelTrait));
+ continue;
}
- else
- if (image->alpha_trait != UndefinedPixelTrait)
- {
- SetPixelChannelTraits(image,channel,(const PixelTrait)
- (UpdatePixelTrait | BlendPixelTrait));
- continue;
- }
SetPixelChannelTraits(image,channel,UpdatePixelTrait);
}
if (image->storage_class == PseudoClass)
RGBChannels = 0x0200, /* set alpha from grayscale mask in RGB */
GrayChannels = 0x0400,
SyncChannels = 0x20000, /* channels modified as a single unit */
- DefaultChannels = AllChannels
+ DefaultChannels = (AllChannels &~ AlphaChannel)
} ChannelType; /* must correspond to PixelChannel */
typedef enum