TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you generate images from text?

1 pointsby mcartyemover 13 years ago
Don't say Gimp script-fu, because it doesn't work. And don't say Imagemagick, because it's ugly.<p>Someone pinch me, is this really the 21st century?

2 comments

LarryMadeover 13 years ago
Many languages support creating image maps and then writing strings to text to it. Not that hard a process.
评论 #3542528 未加载
HardyLeungover 13 years ago
You can draw the text into HTML5 Canvas and then convert that to an image (toDataURL).
评论 #3542526 未加载