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

The author says he achieved text-to-SVG generation but doesn't point to a code repository for it... It would be super interesting (or does gpt-4 do it natively?)

That said, I'm not sure that you need GPT-4 for outlining a BW image and making a path out of it; Corel Draw did that well, over 25 years ago?

So yes, another approach to what the author is doing, would be to generate font bitmaps using any of the leading image generators, and then vectorize the bitmaps. Less straightforward and precise, but probably simpler.



Hi, I am the author. For text-to-SVG, check out IconShop [1]. It was the paper that I tried to reproduce results from initially. In the paper, there is a comparison of their approach against using GPT-4 [2].

Using vectorisation tools like potrace, is indeed a much more popular approach, and there are quite a few papers generating fonts this way. The most recent I believe is DualVector [3]. But I tried to approach the problem from another angle.

[1]: https://icon-shop.github.io

[2]: https://arxiv.org/pdf/2304.14400.pdf

[3]: https://openaccess.thecvf.com/content/CVPR2023/html/Liu_Dual...


Has the code and models been release for this? Looks like amazing work!


Thank you for the follow-up! Much appreciated!


ChatGPT/GPT-4 does it natively. You can say "Please generate me an SVG image of a unicorn" and it will spit out the SVG code.


Here’s my stupid question of the day:

Would you mind to explain what you mean by “native” in this context?


Not using a -plugin- probably




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: