Hacker News new | past | comments | ask | show | jobs | submit login

i don't control the client (html or javascript) - i'm reimplementing the server side api

so i need to generate the avatar on the server side as a jpeg




Hmm. The jpeg requirement seems odd. Even if it has "jpg" in the url, you can serve up a standalone SVG (with a jpg extension in the url) as long as you send the right MIME type. The example SVG above shows it's probably going to be lighter weight than pulling in a java image library.




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

Search: