Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems like it would be a lot easier and a lot more powerful to use SVG instead of a giant string of URL parameters.

Your service could provide pre-made templates and an editor, and expose textfields, images, fonts, etc options via URL parameters. Then your service just has to render the SVG and return it as an image with the requested dimensions/format.

Example:

`https://img.bruzu.com?s=<TEMPLATE ID>&title=Hello&font=arial&width=800&height=480&fmt=png`

You could also pass the raw SVG source as a parameter as well, maybe with base 64 encoding or something like that.



Problem with svgs is that the text don't auto scale.


Thanks, yes template is in future plans, will think about svgs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: