benjaminadk / gif-encoder-2

Encode GIFs with Node
The Unlicense
58 stars 18 forks source link

How create gif from base64? #1

Open goodwin74 opened 4 years ago

goodwin74 commented 4 years ago

How create gif from base64?

var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var urlencodedParser = bodyParser.urlencoded(({ limit: '250mb', extended: true, parameterLimit: 100 }));
app.post('/', urlencodedParser, function(req,res){
        var frames = JSON.parse(req.body.frames);
        //frames = ["data:image/jpeg;base64,......","data:image/jpe...",,"data:ima...", "..."];
});