Mathematica > Data Manipulation > Image Processing & Analysis > Color Processing > SetAlphaChannel >
Mathematica > Visualization and Graphics > Graphics Options & Styling > Colors > Color Processing > SetAlphaChannel >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Directives > Colors > Color Processing > SetAlphaChannel >

SetAlphaChannel

SetAlphaChannel[image]
adds a fully opaque alpha channel to image.
SetAlphaChannel
sets the opacity of all pixels to a.
SetAlphaChannel
sets the alpha channel of image to aimage.
  • SetAlphaChannel uses an arbitrary Mathematica graphics object as the alpha channel.
Set the pixel opacities in an image:
Specify the alpha channel using a graphics object:
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]=
Add a constant alpha channel to an RGB image:
Add a constant alpha channel to a color image:
Set the alpha channel of an RGB image to a detected background:
Set the alpha channel of an RGB image to be the negative of its blue channel:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF