Teigha Blog

Find out what's new and more

Adding an Alpha Channel to a Raster Image

Previously Teigha developers could add an alpha channel to a raster image using the OdGiRasterImage::convert method and subsequently cutting off the background color. However, using the new OdGiRasterImage wrapper OdGiRasterImageAlphaChannelAdder simplifies this task.

Alpha channel rendering