nodejs framebuffer

Job ID: 33211766

Budget: €8 – €30 EUR

NO GENERIC BIDS

Need to convert framebuffer 32bit buffer to 3xRGB 8 bit buffer so Buffer[0] will be R channel, Buffer[1] will be Green channel and Buffer[2] will be Blue channel from pixel X 0 and pixel Y 0, Buffer[3] will be Red channel from pixel X1,Y0 and so on...

I'm using nodejs 12 on raspberry pi and framebuffer library
https://github.com/denghongcai/node-framebuffer

var framebuffer = require('../lib/framebuffer');
var fb = new framebuffer('/dev/fb0');
var Buffer=fb.fbp; // 32bit raw image buffer array
//Convert RGB buffer (width x height * 3)

You are free to use any other library to archive my requeriments, C aswell but the result must be available on nodejs
Related categories: C Programming JavaScript Python Node.js Raspberry Pi