SetAlphaChannel
SetAlphaChannel[image]
adds a fully opaque alpha channel to image.
SetAlphaChannel[image,a]
sets the opacity of all pixels to a.
SetAlphaChannel[image,aimage]
sets the alpha channel of image to aimage.
Details

- SetAlphaChannel[image] is equivalent to SetAlphaChannel[image,1].
- SetAlphaChannel[image,…] ignores opacity properties of image.
- SetAlphaChannel[image,graphics] uses an arbitrary Wolfram Language graphics object as the alpha channel.
- SetAlphaChannel works with images of explicit color spaces—that is, any setting of the ColorSpace option other than Automatic.
- SetAlphaChannel works with Image3D objects.
Examples
open allclose allSee Also
Related Guides
Introduced in 2010
(8.0)
| Updated in 2012 (9.0)