Comments (4)
Something like that definitely is possible, with v1 and the upcoming v2! The current version just provides access to an instance of node-canvas for each frame, and v2 will offer a similar API while dropping node-canvas as a dependency for significant speed increases and a more fluent API!
from canvas-gif.
Oh yeah, also documentation will be coming alongside V2 - I just didn't see much need for in-depth documentation for V1 due to the fact it is a single function project
from canvas-gif.
Thanks for the quikc reply! OK interesting. are you moving to sharp?
i found node-canvas is a bit more tricky to install - on an M1 mac at least.
SVG support would be nice too, i have that working with sharp now, even for embedded images
lovell/sharp#2844 (comment)
But i had problems with most of those npm plugins for GIF stuff and ended up making just a batch tool since CLI imagemagick is pretty reliable.
https://github.com/dcsan/pixtools/blob/main/tools/composite.sh
interested to see how you're going to make it work!
Contribute to dcsan/pixtools development by creating an account on GitHub.
from canvas-gif.
Yeah, the next update should mark a complete transition to sharp! Just running a little behind where I want to be right now because of how much exams are piling on right now (and sadly this will be the case for a hot second :/)
Also yeah, I've had a lot of problems with node gif tools - that's why I'm trying to outsource as much of it as I can to lightweight, well maintained projects liek sharp and potentially gm in the future, just so it has polish and is as fast as I can possibly make it. I may try and make my own optimisations later down the line, but for now this will be a massive improvement anyways!
from canvas-gif.
Related Issues (9)
- Example folder is gone :(
- feature request: rotate HOT 2
- Gif is distorted + much faster HOT 1
- How To Make Transparent Gif Background HOT 2
- Anyway we could load a gif from a url? HOT 1
- Think it would help if export these types!
- Dependency Dashboard
- Images when drawn are distorted or has a weird flashing feeling HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas-gif.