TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Node-canvas. Server side HTML5 canvas implementation in node.js

93 点作者 Rauchg超过 14 年前

10 条评论

drags超过 14 年前
I love this idea, but I'm almost always using canvas with a bunch of click/hover handlers. If I export as a PNG I lose the ability to make things interactive. Is there any way to couple the performance advantages of server-side processing canvas with the interactivity you get through the native implementations?
评论 #1875075 未加载
Vekz超过 14 年前
Cool. Could this replace image manipulation libraries like ImageMagick? You could handle your image manipulation using the canvas api and have node deliver the result.
评论 #1875402 未加载
olalonde超过 14 年前
Wouldn't it be better if Node.js was based on Webkit (not only the V8 engine) so they don't have to reinvent the wheel for every HTML5 spec? Is it to encourage the idea that Javascript doesn't have to be tied to a browser environment? Would it be too complex to maintain?
评论 #1875524 未加载
nkassis超过 14 年前
I don't know how hard it would be but I've been thinking it would be cool to have a WebGL implementation in node. Desktop gl apps using webgl would sorta cool but dunno about real use cases.
评论 #1875155 未加载
评论 #1875049 未加载
yatsyk超过 14 年前
Cool, combine this with canvg and render SVG for lame browsers on server. We can render YUI, jQuiery, canvas, SVG (possibly with some adjustments) in node.
copperred超过 14 年前
Cool. I've been accomplishing the same thing by using Jaxer in my application and it works pretty well. I have a canvas based drawing app on top of a background image and the composite image can be downloaded by the user. I transfer the drawing to the server side, render, composite, and return the output. Works on IE (with excanvas) as well.
JamesRobinson超过 14 年前
The title is a bit misleading. This is an implementation of the canvas 2d API that cairo for everything (the same graphics library that Firefox uses). It's not a pure JS implementation of all of the rasterization logic.
评论 #1875988 未加载
wccrawford超过 14 年前
Not HTML5. HTML5 Canvas. Makes a little more sense when you put that back in the title.
评论 #1874709 未加载
geuis超过 14 年前
This will be really fantastic when it gets freetype support to load ttf fonts.
评论 #1878780 未加载
gurraman超过 14 年前
Visiting site consistently crashes safari ipad here (3.2.2).