gifencoder icon indicating copy to clipboard operation
gifencoder copied to clipboard

How to create GIF from frames base64?

Open goodwin74 opened this issue 5 years ago • 3 comments

How create gif from base64? and print gifbase64 example: res.send(GifBase64);

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...", "..."];
});

goodwin74 avatar Dec 08 '19 14:12 goodwin74

Hi @goodwin74 , have you found a solution for this?

arnoudcommandeur avatar May 17 '23 11:05 arnoudcommandeur

I've finally solved it by using a Write Stream

arnoudcommandeur avatar May 18 '23 18:05 arnoudcommandeur

@arnoudcommandeur do you have a sample code of your implementation? Thanks!

Andrekarma avatar Jun 26 '24 08:06 Andrekarma