Hacker News new | ask | show | jobs
by zazaulola 559 days ago
How is it different from jimp?

https://jimp-dev.github.io/jimp/

Maybe there are some killer features?

2 comments

The only similarity between the two is that they deal with images.

That library only resizes and does other basic pixel level operations.

Skia is for drawing vector graphics.

> Skia is for drawing vector graphics.

What do you mean by "vector graphics"?

Both Canvas and ImageData work only with pixels.

Skia’s api is focused around using postscript-like commands such as “move to” “line to”, etc to produce vectors that it rasterizes.
It implements the HTML Canvas API.

That's not necessarily better or worse, it's just potentially helpful if you've got lots of Canvas-based code lying around you want to run outside a browser environment.