I think something changed in the latest version of Adobe XD. Before, when you exported an artboard with a background before, there was no Alpha Channel. This is because it wasn't needed. Now, however, the PNG export always puts in an Alpha channel, even if the background is present. Seams like this is a bug. An alpha channel should only be included if the background is less than 100% opacity.
Hmm, I'm not familiar with the issue but I think opening the exported png in PS and deleting alpha channel there could be a workaround for now? If it doesn't help, let's see maybe some other team member might have a suggestion. Happy creating!
Thank you for reaching out. In addition to what our expert has suggested, is it possible for you to share a video showing the issue for better understanding? Please also share the version of XD and the operating system you're working on.
We will try our best to investigate the issue.
Thanks for the reply! @AkinGn is correct, Photoshop is definitely a workaround. For exporting large amounts of artboards and assets, I've been using Bridge to bulk remove the alpha channels. However, there are still a couple problems with this method…
(1) The first problem is when a person/company has large amounts of assets that are being converted with automatic scripts. As a programer, the only way the scripts can tell whether or not a file contains transparency, is to rely on the alpha channel being applied correctly. All assets/artboards are exported from Adobe XD at 4x as PNG for quality and archive. We choose PNG over JPG for non-transparent images, since JPG will always have some artifacts. These assets/artboards are then compressed from their original files using scripts to be used in various situations over time.
(2) It's not a huge deal to remove the alpha channel one one or two files, but it gets harder as the amount of files goes up. It gets even harder when the artboards/assets exists in separate subfolders, as Bridge can only bulk process images in a single folder. I can rely on other programs/scripts to bulk remove alpha channels even in many nested subfolders, but a computer isn't smart enough to determine the original intention of the artist and whether or not they wanted a transparent background or not. Since there is no "transparency" option when exporting from XD as PNG, it makes for a difficult an manual process when dealing with large amounts of files.
Version and System:
Also, I apologize for serveral grammar mistakes above. I missed several before hitting "post." Oops. 😄