({{, (RefLink[RemoveAlphaChannel, paclet:ref/RemoveAlphaChannel])[image] 
removes all opacity information from image.}, {, (RefLink[RemoveAlphaChannel, paclet:ref/RemoveAlphaChannel])[image,c]
removes opacity by blending all pixels with the background color c.}})

OpenersNotesSection(Spacer1)Details

(RefLink[RemoveAlphaChannel, paclet:ref/RemoveAlphaChannel])[image,…] returns image if it does not contain an alpha channel.

(RefLink[RemoveAlphaChannel, paclet:ref/RemoveAlphaChannel])[image,c] always returns a "Grayscale" or "RGB" image.

(RefLink[RemoveAlphaChannel, paclet:ref/RemoveAlphaChannel]) works with (RefLink[Image3D, paclet:ref/Image3D]) objects.

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Drop the alpha channel from an image:

RemoveAlphaChannel[]

Remove opacity by blending with a white background:

RemoveAlphaChannel[, White]

OpenersExampleSection1(Spacer1)Scope  (2)

Remove opacity by blending with an orange background:

RemoveAlphaChannel[,Orange]

On an image with no alpha channel, the input image is returned:

RemoveAlphaChannel[]

OpenersExampleSection3(Spacer1)Applications  (1)

Create artistic effects using alpha blending:

RemoveAlphaChannel[, LightGreen]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[SetAlphaChannel, paclet:ref/SetAlphaChannel])  ▪  (RefLink[AlphaChannel, paclet:ref/AlphaChannel])  ▪  (RefLink[ColorSeparate, paclet:ref/ColorSeparate])  ▪  (RefLink[ColorCombine, paclet:ref/ColorCombine])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Basic Image Manipulation, paclet:guide/BasicImageManipulation])}, {▪(RefLinkPlain[Color Processing, paclet:guide/ColorProcessing])}})}})