Convert your SVG to P/S format
The adoption of a specific SVG format for BIMI is far from arbitrary. SVG files can contain JavaScript, which presents a security risk if rendered in an email client. To mitigate this, BIMI mandates the use of SVG Tiny P/S (Portable/Secure), a subset of SVG tailored to exclude any script or interactive elements. This ensures that the logo is solely a visual identifier, devoid of any malicious code that could compromise the email recipient's security.
The php library used in this form is open source and can be used as a cli tool on your computer