magk.type() = TrueColorMatteType
magk.colorspaceType() = UndefinedColorSpace
If I set the colorspace to TransparentColorSpace it has no affect, and alpha is still stripped from the image by the filter.
Search found 2 matches
Search found 2 matches • Page 1 of 1
I have an RGBA image, and when I run a median filter on it, I lose the alpha channel. Here's my C++: Magick::Image magk(width, height, "RGBA", Magick::FloatPixel, pPixels); magk.alphaChannel(Magick::ActivateAlphaChannel); magk.channel(static_cast<MagickCore::ChannelType>(Magick::RedChannel|Magick::G...