When using Canvas to turn the PNG picture to JPEG, it was found that the transparent area was filled and filled with black. The code is as follows: XML/HTML code Copy content to the clipboard