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.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Set the pixel opacities in an image:

In[1]:=
Click for copyable input
Out[1]=

Specify the alpha channel using a graphics object:

In[1]:=
Click for copyable input
Out[1]=
New in 8 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »