[Paraview] Making a certain color in an image transparent

David Doria daviddoria at gmail.com
Mon Nov 8 15:07:24 EST 2010


On Mon, Nov 8, 2010 at 2:41 PM, David Pont <David.Pont at scionresearch.com> wrote:
> David,
>  I'm pretty sure I got TIFF files to display with transparency a while back. The files were RGBA, ie included an alpha channel and I had masked out a background. Can you pre-process your images and add an alpha channel with 0 where you want transparency? You should be able to find or make a test image pretty fast to see if it works.
>
>  regards, Dave

Dave P,

That did the trick. I used the itkRGBAPixel type for my image then
wrote it as a TIFF and the transparency is as expected in ParaView.

Thanks,

David


More information about the ParaView mailing list