Support changing the background color of PNG images

When sending a PNG image with a transparent background in the chat window, its thumbnail appears as follows:

Upon clicking to enlarge, the effect is as shown below, and it can be observed that the display quality is not ideal.

Therefore, could support for modifying the background color of PNG images be implemented?

Opening this image in a browser yields the following effect:


In a certain image viewer, the effect is as follows:

I would like it to have a better display effect than Figure 2. How can this be achieved?

Below is the image for testing purposes:

In our community forum, the background color is white, which also feels suitable.