You can access this command from the image menubar through Layer → Transparency → Remove Alpha Channel. In addition, at the Layer Dialog, you can access it through Remove Alpha Channel of its context pop-up menu.
To remove the alpha channel, click Layer->Layer Mask->From Transparency, then right click on the mask in the layer pallet and select Delete Layer Mask.
The alpha channel is a color component that represents the degree of transparency (or opacity) of a color (i.e., the red, green and blue channels). It is used to determine how a pixel is rendered when blended with another.
Export Non-transparent PNG that required by App Store assets submission. This plugin helps you remove the alpha channel of your exported image generate by Figma. After install the plugin, Right click on any group / layer you want to export, choose Export Opaque PNG - Mark Opaque.
The accepted answer to export to JPG, then back to PNG is not recommended.
Here's a super fast and easy way to do this without the extra export or saving to (lossy) JPG:
Using Preview app (Mac):
if you need remove all alpha channel from directory with icons use this command:
for i in `ls *.png`; do convert $i -background black -alpha remove -alpha off $i; done
if you have Mac OS Mojave and had "convert command not found"
brew install imagemagick
To install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
Assuming you don't have another image editor, then you can open it in Preview on your Mac, and use the Export option to resave it in a different format- to ensure you get rid of the alpha channel, it might be best to export to JPG (best quality), then open that and export it as a PNG again.
Having said that, I suspect you're probably OK submitting an icon with a transparency channel as long as there's no actual transparency.
If you are using the Preview app, there's no need to export then re-export between jpg and png, just choose export and below the filetype (PNG) you will see an alpha checkbox, unset it and save.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With