Hello and sorry for my English,
since few days, i have no more transparency on image used in SharePoint modern page.
For example, this google and Teams image are PNG image with transparency. Before it was good but now there is a grey font in place transparency.
it is the same for you ?