Tag

node-canvas

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2023 · Frontend Development

Building a Customizable Image Generation Tool with Node‑Canvas and Full‑Stack Deployment

This article walks through the conception, implementation, and deployment of a highly configurable image‑generation CLI tool built with node‑canvas, covering the npm package design, command‑line usage, custom font handling, a React‑based visual website, backend services, CI/CD with GitHub Actions, and server setup.

GitHub Actionsbackenddeployment
0 likes · 35 min read
Building a Customizable Image Generation Tool with Node‑Canvas and Full‑Stack Deployment
Tencent Music Tech Team
Tencent Music Tech Team
Feb 2, 2018 · Backend Development

Generating Long Event Images for QQ Music Albums: Front‑end and Server‑side Solutions, Pitfalls and Optimizations

To quickly create shareable long‑event images for QQ Music albums, the team evaluated client‑side DOM‑to‑image tools (html2canvas and SVG) that suffered from blur, incompleteness, slow rendering and oversized base64 data, then migrated rendering to the server using PhantomJS, node‑canvas and ultimately ImageMagick, whose combined script execution, mpc caching, and Q8 build provided the most balanced quality‑performance solution despite remaining operational quirks.

ImageMagickPhantomJSSVG
0 likes · 15 min read
Generating Long Event Images for QQ Music Albums: Front‑end and Server‑side Solutions, Pitfalls and Optimizations