Solution
You can achieve PNG image Alpha channel manipulation using the PNG Read/Write VIs available in Graphics Formats Library, LabVIEW Base Development System.
Refer to the snippet below for an example of how to use the PNG library to manipulate the Transparency (Alpha) channel.

- Use the Read PNG.vi to get the 32-bit PNG image data.
- Use Unflatten Pixmap VI to convert the image data into a Pixmap. Note that this VI does not support 32-bit pixmaps and hence, will convert the 32-bit image data into a 24-bit pixmap.
- Image data contains, among other things, the image bit-stream. Since this is a 32-bit image, that means there are 4 values dedicated to each pixel: Alpha, Red, Green and Blue.
- Replace Zero Alpha (Transparent) Values with the Transparent Color Box.
- Use IMAQ Create.vi to create a new image with custom background and overlay the Bitmap/Pixmap you created in the last step.
- Log this image and you have successfully converted a 32-bit PNG image to a 24-bit PNG image with the transparency converted to a color.
Results:
Test 1 Result 1
Test 2 (White Logo) Result 2