Tech
Generating Thumbnail Images in the Browser with Canvas API
Generating Thumbnail Images in the Browser with Canvas API
Blog thumbnail generators are usually server-side β send text, get back an image. I built one that runs entirely in the browser using Canvas. Here's what's actually hard about it.
Korean Web Font Loading
Korean fonts are large (often 3β10MB for a complete character set). Loading them for Canvas requires waiting for them to be ready:
async function loadWebFonts () {
const link = document . c...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to