Giter Site home page Giter Site logo

bimi-svg-conversion's Introduction

ko-fi

Converting images to BIMI accepted format

This repo contains tools and instructions to create a valid BIMI SVG files.

Your image needs to be the same number of pixels in height and width. For example, 500x500. Otherwise it is not a valid BIMI image.

Web method

Convert your PNG image to SVG using this site: png2svg.com

Then convert your SVG file to a SVG Tiny P/S version using this site: easydmarc.com

Windows method

First, download these two binaries:

Next, open up PowerShell/Command Prompt in the directory the EXEs are located and enter this command to convert your PNG image to SVG:

  • png2svg.exe -v -l -o yourImage.svg yourImage.png (yes, the destination file first)

Then just launch SvgTinyToSvgTinyPS.exe as it is a GUI application. Specify the SVG and final SVG name, specify the title (usually company or website name) and click Generate!

DNS Records

The DNS record is a TXT record on the root. At most DNS providers, you just specify @ for the record name and the following for the value, changing the path of the SVG file as needed.

Name: default._bimi

Value: v=BIMI1; l=https://yourdomain.com/img/bimi_icon.svg; a=;

A valid DMARC record is required as well. As an example, here is a valid record:

Name: @

Value: v=DMARC1; p=quarantine; rua=mailto:[email protected]; ruf=mailto:[email protected]; sp=none; fo=1;

๐Ÿ˜Ž

Screenshots

png2svg.exe example

SvgTinyToSvgTinyPS.exe

MXTOOLBOX BIMI Validation

Validate BIMI record and SVG image

Man I love MXTOOLBOX.

https://mxtoolbox.com/bimi.aspx

Sources

If you want to compile or grab the files manually, here are the projects the EXEs came from. You don't need to do this unless you want to, the above files are just the compiled forms of these projects.

bimi-svg-conversion's People

Contributors

asheroto avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.