Run this:
$ curl -sk -H "Content-Type: image/svg+xml" --data "@badge.svg" https://boiling-springs-84014.herokuapp.com/ > badge.png
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="192" height="20"> | |
<linearGradient id="smooth" x2="0" y2="100%"> | |
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/> | |
<stop offset="1" stop-opacity=".1"/> | |
</linearGradient> | |
<mask id="round"> | |
<rect width="192" height="20" rx="3" fill="#fff"/> | |
</mask> | |
<g mask="url(#round)"> | |
<rect width="74" height="20" fill="#555"/> | |
<rect x="74" width="118" height="20" fill="#97ca00"/> | |
<rect width="192" height="20" fill="url(#smooth)"/> | |
</g> | |
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> | |
<text x="38" y="15" fill="#010101" fill-opacity=".3">SSL Hound</text> | |
<text x="38" y="14">SSL Hound</text> | |
<text x="132" y="15" fill="#010101" fill-opacity=".3">sslhound.com:443</text> | |
<text x="132" y="14">sslhound.com:443</text> | |
</g> | |
</svg> |
Run this:
$ curl -sk -H "Content-Type: image/svg+xml" --data "@badge.svg" https://boiling-springs-84014.herokuapp.com/ > badge.png