Search found 2 matches

by jrkoonce
2014-03-06T09:50:06-07:00
Forum: Magick++
Topic: alpha channel + filtering
Replies: 1
Views: 9656

Re: alpha channel + filtering

FYI:

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.
by jrkoonce
2014-03-06T09:07:16-07:00
Forum: Magick++
Topic: alpha channel + filtering
Replies: 1
Views: 9656

alpha channel + filtering

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 ...