From 7614006a32b92358e3a87a12e1e2b1c4b9b8d65d Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 29 Jun 2019 00:35:55 +0530 Subject: [PATCH] Adds SVG -> PNG on Edge --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9704682..646f7f6 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ - [Fake Paytm Payment](#fake-payment-payment) - [CardDAV for Slack](#carddav-for-slack) - [Make your own adventure for Twitter](#twitter-adventure-maker) +- [SVG to PNG on the Edge](#svg-to-png-on-the-edge) - [Licence](#licence) ## Introduction @@ -569,6 +570,14 @@ DON'T LET YOUR COMPANY DIE](https://twitter.com/scottburke777/status/11433568726 One line pitch: Make a simple webapp that uses the Twitter UI to generate Play your own Adventures. For bonus points, add support for [Twine](https://twinery.org/) or perhaps DNML to let people create these easily. +# SVG to PNG on the Edge + +I wanted to generate SVG images based on Social Media sharing templates that could be re-purposed as header images for any of my articles. Such a solution would help bloggers immensely, since your Open Graph images can be easily dynamically generated. Same goes for people with static sites. (Generating a static SVG is much easier than generating PNG images). + +If you have a magic box that converts SVG images to PNG images just before serving them to Open Graph scrapers. You can implement such a box using CloudFlare workers for eg. + +A few more links on this: [[a](https://fransdejonge.com/2018/03/twitter-and-facebook-dont-support-svg-yet/), [[b]](https://github.com/BreakOutEvent/breakout-frontend/issues/234), [[c]](https://indieweb.org/The-Open-Graph-protocol#Does_not_support_SVG_images) + --- ## Licence